unity-open-mcp 0.1.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/dist/agent-identity.d.ts +52 -0
- package/dist/agent-identity.js +115 -0
- package/dist/agent-identity.js.map +1 -0
- package/dist/batch-spawn.d.ts +7 -0
- package/dist/batch-spawn.js +155 -29
- package/dist/batch-spawn.js.map +1 -1
- package/dist/capabilities/build-capabilities.d.ts +45 -0
- package/dist/capabilities/build-capabilities.js +262 -27
- package/dist/capabilities/build-capabilities.js.map +1 -1
- package/dist/capabilities/cost-hints.d.ts +82 -0
- package/dist/capabilities/cost-hints.js +185 -0
- package/dist/capabilities/cost-hints.js.map +1 -0
- package/dist/capabilities/lifecycle.d.ts +40 -0
- package/dist/capabilities/lifecycle.js +353 -0
- package/dist/capabilities/lifecycle.js.map +1 -0
- package/dist/capabilities/rule-catalog.d.ts +13 -1
- package/dist/capabilities/rule-catalog.js +620 -75
- package/dist/capabilities/rule-catalog.js.map +1 -1
- package/dist/capabilities/tool-groups.d.ts +21 -0
- package/dist/capabilities/tool-groups.js +411 -14
- package/dist/capabilities/tool-groups.js.map +1 -1
- package/dist/cli/args.d.ts +32 -1
- package/dist/cli/args.js +201 -4
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/cli.d.ts +21 -0
- package/dist/cli/cli.js +68 -5
- package/dist/cli/cli.js.map +1 -1
- package/dist/cli/commands.d.ts +33 -0
- package/dist/cli/commands.js +400 -0
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli/exit-codes.d.ts +43 -0
- package/dist/cli/exit-codes.js +78 -0
- package/dist/cli/exit-codes.js.map +1 -0
- package/dist/compile-verify.d.ts +65 -0
- package/dist/compile-verify.js +94 -0
- package/dist/compile-verify.js.map +1 -0
- package/dist/compressible-router.js +64 -11
- package/dist/compressible-router.js.map +1 -1
- package/dist/compression/asset-model.d.ts +15 -0
- package/dist/compression/compact.d.ts +5 -4
- package/dist/compression/compact.js +13 -10
- package/dist/compression/compact.js.map +1 -1
- package/dist/dialog-dismiss.d.ts +127 -74
- package/dist/dialog-dismiss.js +427 -170
- package/dist/dialog-dismiss.js.map +1 -1
- package/dist/dialog-policy.d.ts +141 -0
- package/dist/dialog-policy.js +345 -0
- package/dist/dialog-policy.js.map +1 -0
- package/dist/gate-error.d.ts +6 -0
- package/dist/gate-error.js +13 -2
- package/dist/gate-error.js.map +1 -1
- package/dist/hub-control.d.ts +247 -0
- package/dist/hub-control.js +703 -0
- package/dist/hub-control.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +46 -12
- package/dist/index.js.map +1 -1
- package/dist/live-client.d.ts +123 -3
- package/dist/live-client.js +526 -69
- package/dist/live-client.js.map +1 -1
- package/dist/offline.d.ts +105 -0
- package/dist/offline.js +816 -23
- package/dist/offline.js.map +1 -1
- package/dist/output-profile.d.ts +110 -0
- package/dist/output-profile.js +255 -0
- package/dist/output-profile.js.map +1 -0
- package/dist/retry-policy.d.ts +72 -0
- package/dist/retry-policy.js +146 -0
- package/dist/retry-policy.js.map +1 -0
- package/dist/routers.d.ts +4 -0
- package/dist/routers.js +2 -2
- package/dist/routers.js.map +1 -1
- package/dist/server-instructions.d.ts +18 -0
- package/dist/server-instructions.js +145 -0
- package/dist/server-instructions.js.map +1 -0
- package/dist/tool-router.d.ts +38 -1
- package/dist/tool-router.js +690 -37
- package/dist/tool-router.js.map +1 -1
- package/dist/tool-session-state.d.ts +37 -0
- package/dist/tool-session-state.js +78 -1
- package/dist/tool-session-state.js.map +1 -1
- package/dist/tools/apply-fix.js +16 -2
- package/dist/tools/apply-fix.js.map +1 -1
- package/dist/tools/asmdef-create.d.ts +2 -0
- package/dist/tools/asmdef-create.js +114 -0
- package/dist/tools/asmdef-create.js.map +1 -0
- package/dist/tools/asmdef-get.d.ts +2 -0
- package/dist/tools/asmdef-get.js +31 -0
- package/dist/tools/asmdef-get.js.map +1 -0
- package/dist/tools/asmdef-list.d.ts +2 -0
- package/dist/tools/asmdef-list.js +41 -0
- package/dist/tools/asmdef-list.js.map +1 -0
- package/dist/tools/asmdef-modify.d.ts +2 -0
- package/dist/tools/asmdef-modify.js +108 -0
- package/dist/tools/asmdef-modify.js.map +1 -0
- package/dist/tools/audio-listener-get.d.ts +2 -0
- package/dist/tools/audio-listener-get.js +16 -0
- package/dist/tools/audio-listener-get.js.map +1 -0
- package/dist/tools/audio-mixer-get-parameter.d.ts +2 -0
- package/dist/tools/audio-mixer-get-parameter.js +25 -0
- package/dist/tools/audio-mixer-get-parameter.js.map +1 -0
- package/dist/tools/audio-mixer-set-parameter.d.ts +2 -0
- package/dist/tools/audio-mixer-set-parameter.js +44 -0
- package/dist/tools/audio-mixer-set-parameter.js.map +1 -0
- package/dist/tools/audio-source-add.d.ts +2 -0
- package/dist/tools/audio-source-add.js +94 -0
- package/dist/tools/audio-source-add.js.map +1 -0
- package/dist/tools/audio-source-modify.d.ts +2 -0
- package/dist/tools/audio-source-modify.js +52 -0
- package/dist/tools/audio-source-modify.js.map +1 -0
- package/dist/tools/bridge-status.js +16 -6
- package/dist/tools/bridge-status.js.map +1 -1
- package/dist/tools/build-get-active-target.js +1 -2
- package/dist/tools/build-get-active-target.js.map +1 -1
- package/dist/tools/build-get-defines.js +1 -1
- package/dist/tools/build-get-defines.js.map +1 -1
- package/dist/tools/build-get-scenes.js +1 -2
- package/dist/tools/build-get-scenes.js.map +1 -1
- package/dist/tools/build-get-targets.js +1 -1
- package/dist/tools/build-get-targets.js.map +1 -1
- package/dist/tools/build-set-defines.js +1 -2
- package/dist/tools/build-set-defines.js.map +1 -1
- package/dist/tools/build-set-scenes.js +1 -1
- package/dist/tools/build-set-scenes.js.map +1 -1
- package/dist/tools/build-set-target.js +1 -1
- package/dist/tools/build-set-target.js.map +1 -1
- package/dist/tools/build-start.js +0 -1
- package/dist/tools/build-start.js.map +1 -1
- package/dist/tools/cinemachine-brain-ensure.d.ts +2 -0
- package/dist/tools/cinemachine-brain-ensure.js +27 -0
- package/dist/tools/cinemachine-brain-ensure.js.map +1 -0
- package/dist/tools/cinemachine-camera-list.d.ts +2 -0
- package/dist/tools/cinemachine-camera-list.js +15 -0
- package/dist/tools/cinemachine-camera-list.js.map +1 -0
- package/dist/tools/cinemachine-create-camera.d.ts +2 -0
- package/dist/tools/cinemachine-create-camera.js +55 -0
- package/dist/tools/cinemachine-create-camera.js.map +1 -0
- package/dist/tools/cinemachine-set-body.d.ts +2 -0
- package/dist/tools/cinemachine-set-body.js +33 -0
- package/dist/tools/cinemachine-set-body.js.map +1 -0
- package/dist/tools/cinemachine-set-lens.d.ts +2 -0
- package/dist/tools/cinemachine-set-lens.js +41 -0
- package/dist/tools/cinemachine-set-lens.js.map +1 -0
- package/dist/tools/cinemachine-set-noise.d.ts +2 -0
- package/dist/tools/cinemachine-set-noise.js +31 -0
- package/dist/tools/cinemachine-set-noise.js.map +1 -0
- package/dist/tools/cinemachine-set-targets.d.ts +2 -0
- package/dist/tools/cinemachine-set-targets.js +30 -0
- package/dist/tools/cinemachine-set-targets.js.map +1 -0
- package/dist/tools/console-log.js +2 -2
- package/dist/tools/console-log.js.map +1 -1
- package/dist/tools/constraint-add.d.ts +2 -0
- package/dist/tools/constraint-add.js +85 -0
- package/dist/tools/constraint-add.js.map +1 -0
- package/dist/tools/dependencies.d.ts +2 -0
- package/dist/tools/dependencies.js +76 -0
- package/dist/tools/dependencies.js.map +1 -0
- package/dist/tools/editor-add-tag.js +2 -3
- package/dist/tools/editor-add-tag.js.map +1 -1
- package/dist/tools/editor-clear-history.d.ts +2 -0
- package/dist/tools/editor-clear-history.js +25 -0
- package/dist/tools/editor-clear-history.js.map +1 -0
- package/dist/tools/editor-get-layers.js +3 -3
- package/dist/tools/editor-get-layers.js.map +1 -1
- package/dist/tools/editor-get-tags.js +2 -2
- package/dist/tools/editor-get-tags.js.map +1 -1
- package/dist/tools/editor-redo.js +2 -3
- package/dist/tools/editor-redo.js.map +1 -1
- package/dist/tools/editor-undo-history.d.ts +2 -0
- package/dist/tools/editor-undo-history.js +21 -0
- package/dist/tools/editor-undo-history.js.map +1 -0
- package/dist/tools/editor-undo.js +3 -3
- package/dist/tools/editor-undo.js.map +1 -1
- package/dist/tools/editorprefs-delete.d.ts +2 -0
- package/dist/tools/editorprefs-delete.js +23 -0
- package/dist/tools/editorprefs-delete.js.map +1 -0
- package/dist/tools/editorprefs-get.d.ts +2 -0
- package/dist/tools/editorprefs-get.js +28 -0
- package/dist/tools/editorprefs-get.js.map +1 -0
- package/dist/tools/editorprefs-set.d.ts +2 -0
- package/dist/tools/editorprefs-set.js +33 -0
- package/dist/tools/editorprefs-set.js.map +1 -0
- package/dist/tools/find-references.js +24 -4
- package/dist/tools/find-references.js.map +1 -1
- package/dist/tools/frame-debugger.d.ts +2 -0
- package/dist/tools/frame-debugger.js +48 -0
- package/dist/tools/frame-debugger.js.map +1 -0
- package/dist/tools/gameobject-modify.js +69 -2
- package/dist/tools/gameobject-modify.js.map +1 -1
- package/dist/tools/gate-budget-estimate.js +2 -1
- package/dist/tools/gate-budget-estimate.js.map +1 -1
- package/dist/tools/hub-available-releases.d.ts +2 -0
- package/dist/tools/hub-available-releases.js +23 -0
- package/dist/tools/hub-available-releases.js.map +1 -0
- package/dist/tools/hub-get-install-path.d.ts +2 -0
- package/dist/tools/hub-get-install-path.js +20 -0
- package/dist/tools/hub-get-install-path.js.map +1 -0
- package/dist/tools/hub-install-editor.d.ts +2 -0
- package/dist/tools/hub-install-editor.js +47 -0
- package/dist/tools/hub-install-editor.js.map +1 -0
- package/dist/tools/hub-install-modules.d.ts +2 -0
- package/dist/tools/hub-install-modules.js +44 -0
- package/dist/tools/hub-install-modules.js.map +1 -0
- package/dist/tools/hub-list-editors.d.ts +2 -0
- package/dist/tools/hub-list-editors.js +25 -0
- package/dist/tools/hub-list-editors.js.map +1 -0
- package/dist/tools/hub-set-install-path.d.ts +2 -0
- package/dist/tools/hub-set-install-path.js +30 -0
- package/dist/tools/hub-set-install-path.js.map +1 -0
- package/dist/tools/impact-preview.js +2 -2
- package/dist/tools/impact-preview.js.map +1 -1
- package/dist/tools/index.d.ts +14 -0
- package/dist/tools/index.js +534 -24
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/light-add.d.ts +2 -0
- package/dist/tools/light-add.js +73 -0
- package/dist/tools/light-add.js.map +1 -0
- package/dist/tools/light-modify.d.ts +2 -0
- package/dist/tools/light-modify.js +36 -0
- package/dist/tools/light-modify.js.map +1 -0
- package/dist/tools/light-set.d.ts +2 -0
- package/dist/tools/light-set.js +54 -0
- package/dist/tools/light-set.js.map +1 -0
- package/dist/tools/list-assets-of-type.d.ts +2 -0
- package/dist/tools/list-assets-of-type.js +54 -0
- package/dist/tools/list-assets-of-type.js.map +1 -0
- package/dist/tools/lod-add-level.d.ts +2 -0
- package/dist/tools/lod-add-level.js +66 -0
- package/dist/tools/lod-add-level.js.map +1 -0
- package/dist/tools/lod-group-configure.d.ts +2 -0
- package/dist/tools/lod-group-configure.js +64 -0
- package/dist/tools/lod-group-configure.js.map +1 -0
- package/dist/tools/manage-tools.js +7 -5
- package/dist/tools/manage-tools.js.map +1 -1
- package/dist/tools/memory-snapshot-capture.d.ts +2 -0
- package/dist/tools/memory-snapshot-capture.js +61 -0
- package/dist/tools/memory-snapshot-capture.js.map +1 -0
- package/dist/tools/mutation-explain.js +2 -2
- package/dist/tools/mutation-explain.js.map +1 -1
- package/dist/tools/playerprefs-delete.d.ts +2 -0
- package/dist/tools/playerprefs-delete.js +24 -0
- package/dist/tools/playerprefs-delete.js.map +1 -0
- package/dist/tools/playerprefs-get.d.ts +2 -0
- package/dist/tools/playerprefs-get.js +28 -0
- package/dist/tools/playerprefs-get.js.map +1 -0
- package/dist/tools/playerprefs-set.d.ts +2 -0
- package/dist/tools/playerprefs-set.js +37 -0
- package/dist/tools/playerprefs-set.js.map +1 -0
- package/dist/tools/profiler-capture-frame.d.ts +2 -0
- package/dist/tools/profiler-capture-frame.js +75 -0
- package/dist/tools/profiler-capture-frame.js.map +1 -0
- package/dist/tools/profiler-clear-data.js +1 -2
- package/dist/tools/profiler-clear-data.js.map +1 -1
- package/dist/tools/profiler-enable-module.js +4 -5
- package/dist/tools/profiler-enable-module.js.map +1 -1
- package/dist/tools/profiler-get-status.js +5 -6
- package/dist/tools/profiler-get-status.js.map +1 -1
- package/dist/tools/profiler-load-data.js +4 -5
- package/dist/tools/profiler-load-data.js.map +1 -1
- package/dist/tools/profiler-save-data.js +3 -3
- package/dist/tools/profiler-save-data.js.map +1 -1
- package/dist/tools/profiler-set-config.js +5 -5
- package/dist/tools/profiler-set-config.js.map +1 -1
- package/dist/tools/profiler-start.js +4 -4
- package/dist/tools/profiler-start.js.map +1 -1
- package/dist/tools/profiler-stop.js +2 -3
- package/dist/tools/profiler-stop.js.map +1 -1
- package/dist/tools/read-asset.js +21 -3
- package/dist/tools/read-asset.js.map +1 -1
- package/dist/tools/reflection-probe-bake.d.ts +2 -0
- package/dist/tools/reflection-probe-bake.js +47 -0
- package/dist/tools/reflection-probe-bake.js.map +1 -0
- package/dist/tools/reflection-probe-get.d.ts +2 -0
- package/dist/tools/reflection-probe-get.js +19 -0
- package/dist/tools/reflection-probe-get.js.map +1 -0
- package/dist/tools/reimport-package.d.ts +2 -0
- package/dist/tools/reimport-package.js +53 -0
- package/dist/tools/reimport-package.js.map +1 -0
- package/dist/tools/scan-paths.js +19 -0
- package/dist/tools/scan-paths.js.map +1 -1
- package/dist/tools/scene-focus.js +1 -1
- package/dist/tools/scene-focus.js.map +1 -1
- package/dist/tools/scene-get-data.js +31 -13
- package/dist/tools/scene-get-data.js.map +1 -1
- package/dist/tools/scene-get-dirty-summary.js +1 -1
- package/dist/tools/scene-get-dirty-summary.js.map +1 -1
- package/dist/tools/sceneview-get-camera.d.ts +2 -0
- package/dist/tools/sceneview-get-camera.js +16 -0
- package/dist/tools/sceneview-get-camera.js.map +1 -0
- package/dist/tools/sceneview-set-camera.d.ts +2 -0
- package/dist/tools/sceneview-set-camera.js +58 -0
- package/dist/tools/sceneview-set-camera.js.map +1 -0
- package/dist/tools/script-write.js +2 -2
- package/dist/tools/script-write.js.map +1 -1
- package/dist/tools/scriptableobject-create.d.ts +2 -0
- package/dist/tools/scriptableobject-create.js +86 -0
- package/dist/tools/scriptableobject-create.js.map +1 -0
- package/dist/tools/search-assets.js +20 -3
- package/dist/tools/search-assets.js.map +1 -1
- package/dist/tools/settings-get-lighting.js +3 -4
- package/dist/tools/settings-get-lighting.js.map +1 -1
- package/dist/tools/settings-get-player.js +2 -2
- package/dist/tools/settings-get-player.js.map +1 -1
- package/dist/tools/settings-get-quality.js +1 -2
- package/dist/tools/settings-get-quality.js.map +1 -1
- package/dist/tools/settings-get-render-pipeline.d.ts +2 -0
- package/dist/tools/settings-get-render-pipeline.js +19 -0
- package/dist/tools/settings-get-render-pipeline.js.map +1 -0
- package/dist/tools/settings-get-time.d.ts +2 -0
- package/dist/tools/settings-get-time.js +18 -0
- package/dist/tools/settings-get-time.js.map +1 -0
- package/dist/tools/settings-set-lighting.js +5 -5
- package/dist/tools/settings-set-lighting.js.map +1 -1
- package/dist/tools/settings-set-physics.js +2 -2
- package/dist/tools/settings-set-physics.js.map +1 -1
- package/dist/tools/settings-set-player.js +2 -2
- package/dist/tools/settings-set-player.js.map +1 -1
- package/dist/tools/settings-set-quality-level.d.ts +2 -0
- package/dist/tools/settings-set-quality-level.js +44 -0
- package/dist/tools/settings-set-quality-level.js.map +1 -0
- package/dist/tools/settings-set-quality.js +2 -2
- package/dist/tools/settings-set-quality.js.map +1 -1
- package/dist/tools/settings-set-time.d.ts +2 -0
- package/dist/tools/settings-set-time.js +53 -0
- package/dist/tools/settings-set-time.js.map +1 -0
- package/dist/tools/shader-get-data.js +3 -3
- package/dist/tools/shader-get-data.js.map +1 -1
- package/dist/tools/shader-graph-create.d.ts +2 -0
- package/dist/tools/shader-graph-create.js +40 -0
- package/dist/tools/shader-graph-create.js.map +1 -0
- package/dist/tools/shader-graph-node-add.d.ts +2 -0
- package/dist/tools/shader-graph-node-add.js +50 -0
- package/dist/tools/shader-graph-node-add.js.map +1 -0
- package/dist/tools/shader-graph-node-connect.d.ts +2 -0
- package/dist/tools/shader-graph-node-connect.js +60 -0
- package/dist/tools/shader-graph-node-connect.js.map +1 -0
- package/dist/tools/shader-graph-open.d.ts +2 -0
- package/dist/tools/shader-graph-open.js +29 -0
- package/dist/tools/shader-graph-open.js.map +1 -0
- package/dist/tools/skybox-get.d.ts +2 -0
- package/dist/tools/skybox-get.js +13 -0
- package/dist/tools/skybox-get.js.map +1 -0
- package/dist/tools/skybox-set.d.ts +2 -0
- package/dist/tools/skybox-set.js +34 -0
- package/dist/tools/skybox-set.js.map +1 -0
- package/dist/tools/spriteatlas-add-packable.d.ts +2 -0
- package/dist/tools/spriteatlas-add-packable.js +40 -0
- package/dist/tools/spriteatlas-add-packable.js.map +1 -0
- package/dist/tools/spriteatlas-create.d.ts +2 -0
- package/dist/tools/spriteatlas-create.js +41 -0
- package/dist/tools/spriteatlas-create.js.map +1 -0
- package/dist/tools/spriteatlas-delete.d.ts +2 -0
- package/dist/tools/spriteatlas-delete.js +32 -0
- package/dist/tools/spriteatlas-delete.js.map +1 -0
- package/dist/tools/spriteatlas-get.d.ts +2 -0
- package/dist/tools/spriteatlas-get.js +23 -0
- package/dist/tools/spriteatlas-get.js.map +1 -0
- package/dist/tools/spriteatlas-list.d.ts +2 -0
- package/dist/tools/spriteatlas-list.js +21 -0
- package/dist/tools/spriteatlas-list.js.map +1 -0
- package/dist/tools/spriteatlas-modify.d.ts +2 -0
- package/dist/tools/spriteatlas-modify.js +55 -0
- package/dist/tools/spriteatlas-modify.js.map +1 -0
- package/dist/tools/spriteatlas-remove-packable.d.ts +2 -0
- package/dist/tools/spriteatlas-remove-packable.js +39 -0
- package/dist/tools/spriteatlas-remove-packable.js.map +1 -0
- package/dist/tools/terrain-create.d.ts +2 -0
- package/dist/tools/terrain-create.js +73 -0
- package/dist/tools/terrain-create.js.map +1 -0
- package/dist/tools/terrain-paint-layer.d.ts +2 -0
- package/dist/tools/terrain-paint-layer.js +85 -0
- package/dist/tools/terrain-paint-layer.js.map +1 -0
- package/dist/tools/terrain-place-trees.d.ts +2 -0
- package/dist/tools/terrain-place-trees.js +92 -0
- package/dist/tools/terrain-place-trees.js.map +1 -0
- package/dist/tools/terrain-set-heights.d.ts +2 -0
- package/dist/tools/terrain-set-heights.js +68 -0
- package/dist/tools/terrain-set-heights.js.map +1 -0
- package/dist/tools/terrain-set-neighbors.d.ts +2 -0
- package/dist/tools/terrain-set-neighbors.js +65 -0
- package/dist/tools/terrain-set-neighbors.js.map +1 -0
- package/dist/tools/texture-get-importer.d.ts +2 -0
- package/dist/tools/texture-get-importer.js +25 -0
- package/dist/tools/texture-get-importer.js.map +1 -0
- package/dist/tools/texture-get.d.ts +2 -0
- package/dist/tools/texture-get.js +23 -0
- package/dist/tools/texture-get.js.map +1 -0
- package/dist/tools/texture-reimport.d.ts +2 -0
- package/dist/tools/texture-reimport.js +33 -0
- package/dist/tools/texture-reimport.js.map +1 -0
- package/dist/tools/texture-set-import.d.ts +2 -0
- package/dist/tools/texture-set-import.js +52 -0
- package/dist/tools/texture-set-import.js.map +1 -0
- package/dist/tools/tilemap-box-fill.d.ts +2 -0
- package/dist/tools/tilemap-box-fill.js +32 -0
- package/dist/tools/tilemap-box-fill.js.map +1 -0
- package/dist/tools/tilemap-create-rule-tile.d.ts +2 -0
- package/dist/tools/tilemap-create-rule-tile.js +39 -0
- package/dist/tools/tilemap-create-rule-tile.js.map +1 -0
- package/dist/tools/tilemap-create-tile-asset.d.ts +2 -0
- package/dist/tools/tilemap-create-tile-asset.js +35 -0
- package/dist/tools/tilemap-create-tile-asset.js.map +1 -0
- package/dist/tools/tilemap-create.d.ts +2 -0
- package/dist/tools/tilemap-create.js +32 -0
- package/dist/tools/tilemap-create.js.map +1 -0
- package/dist/tools/tilemap-set-tile.d.ts +2 -0
- package/dist/tools/tilemap-set-tile.js +33 -0
- package/dist/tools/tilemap-set-tile.js.map +1 -0
- package/dist/tools/timeline-clip-add.d.ts +2 -0
- package/dist/tools/timeline-clip-add.js +43 -0
- package/dist/tools/timeline-clip-add.js.map +1 -0
- package/dist/tools/timeline-create.d.ts +2 -0
- package/dist/tools/timeline-create.js +32 -0
- package/dist/tools/timeline-create.js.map +1 -0
- package/dist/tools/timeline-director-bind.d.ts +2 -0
- package/dist/tools/timeline-director-bind.js +34 -0
- package/dist/tools/timeline-director-bind.js.map +1 -0
- package/dist/tools/timeline-modify.d.ts +2 -0
- package/dist/tools/timeline-modify.js +44 -0
- package/dist/tools/timeline-modify.js.map +1 -0
- package/dist/tools/timeline-track-add.d.ts +2 -0
- package/dist/tools/timeline-track-add.js +37 -0
- package/dist/tools/timeline-track-add.js.map +1 -0
- package/dist/tools/ui-canvas-add.d.ts +2 -0
- package/dist/tools/ui-canvas-add.js +66 -0
- package/dist/tools/ui-canvas-add.js.map +1 -0
- package/dist/tools/ui-element-add.d.ts +2 -0
- package/dist/tools/ui-element-add.js +65 -0
- package/dist/tools/ui-element-add.js.map +1 -0
- package/dist/tools/ui-element-modify.d.ts +2 -0
- package/dist/tools/ui-element-modify.js +59 -0
- package/dist/tools/ui-element-modify.js.map +1 -0
- package/dist/tools/ui-layout-group-add.d.ts +2 -0
- package/dist/tools/ui-layout-group-add.js +80 -0
- package/dist/tools/ui-layout-group-add.js.map +1 -0
- package/dist/tools/validate-edit.js +22 -1
- package/dist/tools/validate-edit.js.map +1 -1
- package/dist/tools/vfx-block-edit.d.ts +2 -0
- package/dist/tools/vfx-block-edit.js +51 -0
- package/dist/tools/vfx-block-edit.js.map +1 -0
- package/dist/tools/vfx-list.d.ts +2 -0
- package/dist/tools/vfx-list.js +31 -0
- package/dist/tools/vfx-list.js.map +1 -0
- package/dist/tools/vfx-open.d.ts +2 -0
- package/dist/tools/vfx-open.js +29 -0
- package/dist/tools/vfx-open.js.map +1 -0
- package/package.json +1 -1
package/dist/tools/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { validateEdit } from "./validate-edit.js";
|
|
|
9
9
|
import { checkpointCreate } from "./checkpoint-create.js";
|
|
10
10
|
import { delta } from "./delta.js";
|
|
11
11
|
import { findReferences } from "./find-references.js";
|
|
12
|
+
import { dependencies } from "./dependencies.js";
|
|
12
13
|
import { scanPaths } from "./scan-paths.js";
|
|
13
14
|
import { applyFix } from "./apply-fix.js";
|
|
14
15
|
import { scanAll } from "./scan-all.js";
|
|
@@ -28,6 +29,16 @@ import { captureInline } from "./capture-inline.js";
|
|
|
28
29
|
// M20 Plan 1 / T20.1.2 — Editor window screenshot. Win-only full-fidelity via
|
|
29
30
|
// PrintWindow; cross-platform best-effort readback with platformLimited flag.
|
|
30
31
|
import { screenshotWindow } from "./screenshot-window.js";
|
|
32
|
+
// M20 Plan 1 / T20.1.3 — Frame Debugger control + draw-call list. Wraps the
|
|
33
|
+
// internal Frame Debugger API via reflection; enable/disable is a non-mutating
|
|
34
|
+
// Editor state change (gate-free, read-only), list returns the draw calls of
|
|
35
|
+
// the currently-debugged frame.
|
|
36
|
+
import { frameDebugger } from "./frame-debugger.js";
|
|
37
|
+
// M20 Plan 1 / T20.1.4 — single-frame deep profiler capture. Returns one
|
|
38
|
+
// frame's full sample tree for the requested modules; deeper than the existing
|
|
39
|
+
// per-module profiler_get_* stats. Read-only; pairs with the existing profiler
|
|
40
|
+
// session family.
|
|
41
|
+
import { profilerCaptureFrame } from "./profiler-capture-frame.js";
|
|
31
42
|
import { readConsole } from "./read-console.js";
|
|
32
43
|
import { profilerCapture } from "./profiler-capture.js";
|
|
33
44
|
import { profilerMemory } from "./profiler-memory.js";
|
|
@@ -39,9 +50,9 @@ import { listRules } from "./list-rules.js";
|
|
|
39
50
|
import { pullEvents } from "./pull-events.js";
|
|
40
51
|
import { readCompileErrors } from "./read-compile-errors.js";
|
|
41
52
|
import { bridgeStatus } from "./bridge-status.js";
|
|
42
|
-
// M18 Plan 2 / T18.2.2 —
|
|
43
|
-
//
|
|
44
|
-
//
|
|
53
|
+
// M18 Plan 2 / T18.2.2 — manage_tools meta-tool (per-session tool-group
|
|
54
|
+
// visibility). Server-only meta-tool; routes local, always visible regardless
|
|
55
|
+
// of which groups the current session has activated.
|
|
45
56
|
import { manageTools } from "./manage-tools.js";
|
|
46
57
|
// M16 Plan 1 — typed project & asset management tools.
|
|
47
58
|
import { assetsCreateFolder } from "./assets-create-folder.js";
|
|
@@ -89,11 +100,14 @@ import { sceneListOpened } from "./scene-list-opened.js";
|
|
|
89
100
|
import { sceneGetData } from "./scene-get-data.js";
|
|
90
101
|
import { sceneGetDirtySummary } from "./scene-get-dirty-summary.js";
|
|
91
102
|
import { sceneFocus } from "./scene-focus.js";
|
|
103
|
+
import { sceneviewGetCamera } from "./sceneview-get-camera.js";
|
|
104
|
+
import { sceneviewSetCamera } from "./sceneview-set-camera.js";
|
|
92
105
|
// M16 Plan 4 — typed Package Manager tools.
|
|
93
106
|
import { packageList } from "./package-list.js";
|
|
94
107
|
import { packageSearch } from "./package-search.js";
|
|
95
108
|
import { packageAdd } from "./package-add.js";
|
|
96
109
|
import { packageRemove } from "./package-remove.js";
|
|
110
|
+
import { reimportPackage } from "./reimport-package.js";
|
|
97
111
|
import { packageGetInfo } from "./package-get-info.js";
|
|
98
112
|
import { packageGetDependencies } from "./package-get-dependencies.js";
|
|
99
113
|
import { packageCheck } from "./package-check.js";
|
|
@@ -105,6 +119,8 @@ import { selectionGet } from "./selection-get.js";
|
|
|
105
119
|
import { selectionSet } from "./selection-set.js";
|
|
106
120
|
import { editorUndo } from "./editor-undo.js";
|
|
107
121
|
import { editorRedo } from "./editor-redo.js";
|
|
122
|
+
import { editorUndoHistory } from "./editor-undo-history.js";
|
|
123
|
+
import { editorClearHistory } from "./editor-clear-history.js";
|
|
108
124
|
import { editorGetTags } from "./editor-get-tags.js";
|
|
109
125
|
import { editorGetLayers } from "./editor-get-layers.js";
|
|
110
126
|
import { editorAddTag } from "./editor-add-tag.js";
|
|
@@ -116,6 +132,18 @@ import { scriptWrite } from "./script-write.js";
|
|
|
116
132
|
import { scriptDelete } from "./script-delete.js";
|
|
117
133
|
import { objectGetData } from "./object-get-data.js";
|
|
118
134
|
import { objectModify } from "./object-modify.js";
|
|
135
|
+
// M20 Plan 5 / T20.5 — typed ScriptableObject + Assembly Definition tools.
|
|
136
|
+
// scriptableobject_create is a mutating create path (EditorSettle); the read/
|
|
137
|
+
// info surface stays on object_get_data / object_modify. list_assets_of_type is
|
|
138
|
+
// a read-only typed list-by-type. The asmdef family (list/get/create/modify)
|
|
139
|
+
// closes the asmdef parity gap: list/get are read-only; create/modify use the
|
|
140
|
+
// RestartThenSettle lifecycle (a recompile + domain reload follows).
|
|
141
|
+
import { scriptableObjectCreate } from "./scriptableobject-create.js";
|
|
142
|
+
import { listAssetsOfType } from "./list-assets-of-type.js";
|
|
143
|
+
import { asmdefList } from "./asmdef-list.js";
|
|
144
|
+
import { asmdefGet } from "./asmdef-get.js";
|
|
145
|
+
import { asmdefCreate } from "./asmdef-create.js";
|
|
146
|
+
import { asmdefModify } from "./asmdef-modify.js";
|
|
119
147
|
// M16 Plan 7 — typed profiler session / diagnostics tools.
|
|
120
148
|
import { profilerStart } from "./profiler-start.js";
|
|
121
149
|
import { profilerStop } from "./profiler-stop.js";
|
|
@@ -149,6 +177,27 @@ import { settingsGetPhysics } from "./settings-get-physics.js";
|
|
|
149
177
|
import { settingsSetPhysics } from "./settings-set-physics.js";
|
|
150
178
|
import { settingsGetLighting } from "./settings-get-lighting.js";
|
|
151
179
|
import { settingsSetLighting } from "./settings-set-lighting.js";
|
|
180
|
+
// M20 Plan 9 / T20.9.2 — KV preferences (PlayerPrefs + EditorPrefs). Mutating
|
|
181
|
+
// members (set / delete) write to the registry / Library/PlayerPreferences, NOT
|
|
182
|
+
// to project assets — they route as gate-free direct-response tools like
|
|
183
|
+
// editor_undo (the catalog/toggle still marks them mutating). playerprefs_set
|
|
184
|
+
// calls PlayerPrefs.Save(); EditorPrefs writes through immediately.
|
|
185
|
+
// playerprefs_delete_all is deliberately omitted (irreversible wipe — route
|
|
186
|
+
// through execute_csharp with an explicit confirm).
|
|
187
|
+
import { playerprefsGet } from "./playerprefs-get.js";
|
|
188
|
+
import { playerprefsSet } from "./playerprefs-set.js";
|
|
189
|
+
import { playerprefsDelete } from "./playerprefs-delete.js";
|
|
190
|
+
import { editorprefsGet } from "./editorprefs-get.js";
|
|
191
|
+
import { editorprefsSet } from "./editorprefs-set.js";
|
|
192
|
+
import { editorprefsDelete } from "./editorprefs-delete.js";
|
|
193
|
+
// M20 Plan 9 / T20.9.3 — Project Settings remainder. set_time +
|
|
194
|
+
// set_quality_level write ProjectSettings/*.asset (full gate path); get_time +
|
|
195
|
+
// get_render_pipeline are read-only. get_render_pipeline has no setter —
|
|
196
|
+
// switching SRP is a package-level operation.
|
|
197
|
+
import { settingsGetTime } from "./settings-get-time.js";
|
|
198
|
+
import { settingsSetTime } from "./settings-set-time.js";
|
|
199
|
+
import { settingsGetRenderPipeline } from "./settings-get-render-pipeline.js";
|
|
200
|
+
import { settingsSetQualityLevel } from "./settings-set-quality-level.js";
|
|
152
201
|
// M16 Plan 10 / T6.6.2 — Navigation (NavMesh) extension tools. Each tool is
|
|
153
202
|
// gated on the `com.alexeyperov.unity-open-mcp-ext-navigation` extension pack
|
|
154
203
|
// being installed in the target project; the tool definitions live in core so
|
|
@@ -210,6 +259,203 @@ import { splinesSetTangentMode } from "./splines-set-tangent-mode.js";
|
|
|
210
259
|
import { splinesEvaluate } from "./splines-evaluate.js";
|
|
211
260
|
import { splinesGetKnots } from "./splines-get-knots.js";
|
|
212
261
|
import { splinesModify } from "./splines-modify.js";
|
|
262
|
+
// M20 Plan 2 / T20.2 — Lighting domain tools. Built-in lighting module (Light /
|
|
263
|
+
// ReflectionProbe / RenderSettings / Lightmapping) — ungated in the bridge (no
|
|
264
|
+
// UNITY_OPEN_MCP_EXT_LIGHTING define), always compiled. The `lighting` group is
|
|
265
|
+
// hidden from ListTools until the session activates it via manage_tools.
|
|
266
|
+
// Mutating members (light_add / light_set / light_modify /
|
|
267
|
+
// reflection_probe_bake / skybox_set) run the full gate path with paths_hint
|
|
268
|
+
// scoped to the host scene path (skybox_set dirties the active scene).
|
|
269
|
+
// reflection_probe_bake is the long mutation — EditorSettle so the dispatcher
|
|
270
|
+
// waits for the bake + asset refresh before returning. Read-only members
|
|
271
|
+
// (reflection_probe_get / skybox_get) are gate-free.
|
|
272
|
+
import { lightAdd } from "./light-add.js";
|
|
273
|
+
import { lightSet } from "./light-set.js";
|
|
274
|
+
import { lightModify } from "./light-modify.js";
|
|
275
|
+
import { reflectionProbeBake } from "./reflection-probe-bake.js";
|
|
276
|
+
import { reflectionProbeGet } from "./reflection-probe-get.js";
|
|
277
|
+
import { skyboxSet } from "./skybox-set.js";
|
|
278
|
+
import { skyboxGet } from "./skybox-get.js";
|
|
279
|
+
// M20 Plan 3 / T20.3.1 — Audio domain tools. Built-in audio module (AudioSource /
|
|
280
|
+
// AudioListener / AudioMixer / AudioMixerGroup from UnityEngine.AudioModule) —
|
|
281
|
+
// ungated in the bridge (no UNITY_OPEN_MCP_EXT_AUDIO define), always compiled.
|
|
282
|
+
// The `audio` group is hidden from ListTools until the session activates it via
|
|
283
|
+
// manage_tools. Mutating members (audio_source_add / audio_source_modify /
|
|
284
|
+
// audio_mixer_set_parameter) run the full gate path with paths_hint scoped to
|
|
285
|
+
// the host scene path (or the mixer asset path for audio_mixer_set_parameter).
|
|
286
|
+
// Read-only members (audio_listener_get / audio_mixer_get_parameter) are
|
|
287
|
+
// gate-free. The mixer-parameter round-trip (set then read-back) is the
|
|
288
|
+
// documented advantage — a source-only audio tool touches per-source settings
|
|
289
|
+
// only, while this set also reads/writes exposed AudioMixer float parameters.
|
|
290
|
+
import { audioSourceAdd } from "./audio-source-add.js";
|
|
291
|
+
import { audioSourceModify } from "./audio-source-modify.js";
|
|
292
|
+
import { audioMixerSetParameter } from "./audio-mixer-set-parameter.js";
|
|
293
|
+
import { audioListenerGet } from "./audio-listener-get.js";
|
|
294
|
+
import { audioMixerGetParameter } from "./audio-mixer-get-parameter.js";
|
|
295
|
+
// M20 Plan 3 / T20.3.2 — UI (uGUI) domain tools. Built-in UI module (Canvas /
|
|
296
|
+
// CanvasScaler / GraphicRaycaster / Image / Text / Button / Slider / Toggle /
|
|
297
|
+
// InputField / layout groups / EventSystem from UnityEngine.UI +
|
|
298
|
+
// UnityEngine.EventSystems) — ungated in the bridge (no UNITY_OPEN_MCP_EXT_UI
|
|
299
|
+
// define), always compiled. TextMesh Pro (TMP_Text) is OPTIONAL and detected
|
|
300
|
+
// at call time via reflection — when an agent requests element_type=TMP_Text
|
|
301
|
+
// and TMP is absent, the tool returns `tmp_package_required` (no silent
|
|
302
|
+
// legacy-Text fallback). The `ui` group is hidden from ListTools until the
|
|
303
|
+
// session activates it via manage_tools. All four members (ui_canvas_add /
|
|
304
|
+
// ui_element_add / ui_layout_group_add / ui_element_modify) run the full gate
|
|
305
|
+
// path with paths_hint scoped to the host / new-root / parent scene path. The
|
|
306
|
+
// Canvas-companion ensure (CanvasScaler + GraphicRaycaster + EventSystem) is
|
|
307
|
+
// the documented advantage — a canvas-only tool creates the Canvas alone.
|
|
308
|
+
import { uiCanvasAdd } from "./ui-canvas-add.js";
|
|
309
|
+
import { uiElementAdd } from "./ui-element-add.js";
|
|
310
|
+
import { uiLayoutGroupAdd } from "./ui-layout-group-add.js";
|
|
311
|
+
import { uiElementModify } from "./ui-element-modify.js";
|
|
312
|
+
// M20 Plan 3 / T20.3.3 — Constraints & LOD domain tools. Built-in engine
|
|
313
|
+
// modules (UnityEngine.AnimationModule for the constraint components,
|
|
314
|
+
// UnityEngine.CoreModule for LODGroup) — ungated in the bridge (no
|
|
315
|
+
// UNITY_OPEN_MCP_EXT_CONSTRAINTS define), always compiled. The `constraints`
|
|
316
|
+
// group is hidden from ListTools until the session activates it via
|
|
317
|
+
// manage_tools. All three members (constraint_add / lod_group_configure /
|
|
318
|
+
// lod_add_level) are mutating and run the full gate path with paths_hint
|
|
319
|
+
// scoped to the host scene path. The gate + paths_hint contract on every
|
|
320
|
+
// mutating member is the documented advantage.
|
|
321
|
+
import { constraintAdd } from "./constraint-add.js";
|
|
322
|
+
import { lodGroupConfigure } from "./lod-group-configure.js";
|
|
323
|
+
import { lodAddLevel } from "./lod-add-level.js";
|
|
324
|
+
// M20 Plan 4 / T20.4 — Terrain domain tools. Built-in Terrain module (Terrain
|
|
325
|
+
// / TerrainData / TreePrototype / TerrainLayer) — ungated in the bridge (no
|
|
326
|
+
// UNITY_OPEN_MCP_EXT_TERRAIN define), always compiled. The `terrain` group is
|
|
327
|
+
// hidden from ListTools until the session activates it via manage_tools. All
|
|
328
|
+
// five members (terrain_create / terrain_set_heights / terrain_paint_layer /
|
|
329
|
+
// terrain_place_trees / terrain_set_neighbors) are mutating and run the full
|
|
330
|
+
// gate path with paths_hint scoped to the host scene path (+ the asset path
|
|
331
|
+
// for terrain_create's TerrainData .asset and terrain_paint_layer's new
|
|
332
|
+
// TerrainLayer .terrainlayer). Closes the Terrain parity gap; the
|
|
333
|
+
// large-array cap + tiling hint and the gate + paths_hint contract on every
|
|
334
|
+
// mutating member are the documented advantages.
|
|
335
|
+
import { terrainCreate } from "./terrain-create.js";
|
|
336
|
+
import { terrainSetHeights } from "./terrain-set-heights.js";
|
|
337
|
+
import { terrainPaintLayer } from "./terrain-paint-layer.js";
|
|
338
|
+
import { terrainPlaceTrees } from "./terrain-place-trees.js";
|
|
339
|
+
import { terrainSetNeighbors } from "./terrain-set-neighbors.js";
|
|
340
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine extension tools. The only
|
|
341
|
+
// reflection-gated domain pack in the bridge: the assembly always compiles
|
|
342
|
+
// (no UNITY_OPEN_MCP_EXT_CINEMACHINE compile gate), and Cinemachine 3.x
|
|
343
|
+
// presence is detected at call time via the CinemachineVersion reflection
|
|
344
|
+
// layer. When 3.x is absent (package missing OR Cinemachine 2.x installed),
|
|
345
|
+
// the tools return a clear install/upgrade error envelope. Six mutating
|
|
346
|
+
// members (create_camera / set_targets / set_lens / set_body / set_noise /
|
|
347
|
+
// brain_ensure) run the full gate path with paths_hint scoped to the host
|
|
348
|
+
// scene path (create_camera adds a new GameObject to the active scene). One
|
|
349
|
+
// read-only member (camera_list) is gate-free.
|
|
350
|
+
import { cinemachineCreateCamera } from "./cinemachine-create-camera.js";
|
|
351
|
+
import { cinemachineSetTargets } from "./cinemachine-set-targets.js";
|
|
352
|
+
import { cinemachineSetLens } from "./cinemachine-set-lens.js";
|
|
353
|
+
import { cinemachineSetBody } from "./cinemachine-set-body.js";
|
|
354
|
+
import { cinemachineSetNoise } from "./cinemachine-set-noise.js";
|
|
355
|
+
import { cinemachineBrainEnsure } from "./cinemachine-brain-ensure.js";
|
|
356
|
+
import { cinemachineCameraList } from "./cinemachine-camera-list.js";
|
|
357
|
+
// M20 Plan 6 / T20.6.2 — Timeline extension tools. Compile-gated in the
|
|
358
|
+
// bridge (UNITY_OPEN_MCP_EXT_TIMELINE on com.unity.timeline). All five
|
|
359
|
+
// members (create / track_add / clip_add / director_bind / modify) are
|
|
360
|
+
// mutating and run the full gate path. create produces a .playable asset;
|
|
361
|
+
// director_bind mutates a scene PlayableDirector; modify is a reflective
|
|
362
|
+
// field-patch escape hatch. The gate + paths_hint contract on every mutating
|
|
363
|
+
// member is the documented advantage.
|
|
364
|
+
import { timelineCreate } from "./timeline-create.js";
|
|
365
|
+
import { timelineTrackAdd } from "./timeline-track-add.js";
|
|
366
|
+
import { timelineClipAdd } from "./timeline-clip-add.js";
|
|
367
|
+
import { timelineDirectorBind } from "./timeline-director-bind.js";
|
|
368
|
+
import { timelineModify } from "./timeline-modify.js";
|
|
369
|
+
// M20 Plan 6 / T20.6.3 — Tilemap extension tools. Compile-gated in the
|
|
370
|
+
// bridge by UNITY_OPEN_MCP_EXT_TILEMAP (com.unity.2d.tilemap), with an inner
|
|
371
|
+
// UNITY_OPEN_MCP_EXT_TILEMAP_EXTRAS guard around create_rule_tile's body —
|
|
372
|
+
// when tilemap.extras is absent, the tool compiles in but returns a clear
|
|
373
|
+
// tilemap_extras_required install error (two defines, two guards). All five
|
|
374
|
+
// members (create / set_tile / box_fill / create_tile_asset /
|
|
375
|
+
// create_rule_tile) are mutating and run the full gate path.
|
|
376
|
+
import { tilemapCreate } from "./tilemap-create.js";
|
|
377
|
+
import { tilemapSetTile } from "./tilemap-set-tile.js";
|
|
378
|
+
import { tilemapBoxFill } from "./tilemap-box-fill.js";
|
|
379
|
+
import { tilemapCreateTileAsset } from "./tilemap-create-tile-asset.js";
|
|
380
|
+
import { tilemapCreateRuleTile } from "./tilemap-create-rule-tile.js";
|
|
381
|
+
// M20 Plan 7 / T20.7.1 — Shader Graph extension tools. Compile-gated in the
|
|
382
|
+
// bridge (UNITY_OPEN_MCP_EXT_SHADERGRAPH on com.unity.shadergraph) AND
|
|
383
|
+
// auto-activating — the first domain to ship with package-detection auto-
|
|
384
|
+
// activation (M20 Plan 7 / T20.7.0): the `shadergraph` group activates for
|
|
385
|
+
// the session automatically when com.unity.shadergraph is installed, no
|
|
386
|
+
// manual manage_tools call. Three mutating members (create / node_add /
|
|
387
|
+
// node_connect) run the full gate path with paths_hint scoped to the
|
|
388
|
+
// .shadergraph asset path; open is a read-only window bring-up (Gate = Off)
|
|
389
|
+
// that returns a structured node/edge summary. The editing API is wrapped
|
|
390
|
+
// behind a reflection helper (ShaderGraphApi) — when the installed package
|
|
391
|
+
// version exposes a different surface, mutating tools return a structured
|
|
392
|
+
// shadergraph_api_unavailable error instead of throwing. Complementary to
|
|
393
|
+
// the inspect surface (shader_get_data / shader_list_all).
|
|
394
|
+
import { shaderGraphCreate } from "./shader-graph-create.js";
|
|
395
|
+
import { shaderGraphOpen } from "./shader-graph-open.js";
|
|
396
|
+
import { shaderGraphNodeAdd } from "./shader-graph-node-add.js";
|
|
397
|
+
import { shaderGraphNodeConnect } from "./shader-graph-node-connect.js";
|
|
398
|
+
// M20 Plan 7 / T20.7.2 — VFX Graph extension tools. Compile-gated in the
|
|
399
|
+
// bridge (UNITY_OPEN_MCP_EXT_VFX on com.unity.visualeffectgraph) AND auto-
|
|
400
|
+
// activating — the second domain under the package-detection auto-activation
|
|
401
|
+
// model (M20 Plan 7 / T20.7.0): the `vfx` group activates for the session
|
|
402
|
+
// automatically when com.unity.visualeffectgraph is installed, no manual
|
|
403
|
+
// manage_tools call. list / open are read-only (Gate = Off) returning a
|
|
404
|
+
// structured context/block/property summary; block_edit is the lone mutating
|
|
405
|
+
// member (Gate = Enforce, paths_hint = .vfx asset path). VFX Graph's editor
|
|
406
|
+
// graph model is internal/unstable — the read paths work over the public
|
|
407
|
+
// runtime VisualEffectAsset type and the serialized file format (version-
|
|
408
|
+
// stable); block_edit reflects over the editor graph and requires the VFX
|
|
409
|
+
// Graph window to be open, degrading to a structured
|
|
410
|
+
// vfx_block_edit_requires_editor_window error otherwise.
|
|
411
|
+
import { vfxList } from "./vfx-list.js";
|
|
412
|
+
import { vfxOpen } from "./vfx-open.js";
|
|
413
|
+
import { vfxBlockEdit } from "./vfx-block-edit.js";
|
|
414
|
+
// M20 Plan 7 / T20.7.3 — Memory Profiler snapshot capture. Compile-gated in
|
|
415
|
+
// the bridge (UNITY_OPEN_MCP_EXT_MEMORYPROFILER on com.unity.memoryprofiler) +
|
|
416
|
+
// auto-activating — the third domain under the package-detection auto-activation
|
|
417
|
+
// model (M20 Plan 7 / T20.7.0): the `memoryprofiler` group activates for the
|
|
418
|
+
// session automatically when com.unity.memoryprofiler is installed. Sense-
|
|
419
|
+
// prefixed (unity_senses_*) because it pairs with the existing senses profiler
|
|
420
|
+
// family rather than the typed-editor surface. Read-only re: game/project state
|
|
421
|
+
// but produces a .snap file — Gate = Off, ReadOnlyHint = true, Lifecycle =
|
|
422
|
+
// EditorSettle. The capture is callback-based; the bridge blocks until the
|
|
423
|
+
// callback fires. Pairs with profiler_get_script_stats / profiler_capture_frame
|
|
424
|
+
// for a fuller performance picture than a standalone memory tool.
|
|
425
|
+
import { memorySnapshotCapture } from "./memory-snapshot-capture.js";
|
|
426
|
+
// M20 Plan 9 / T20.9.1 — 2D art pipeline: SpriteAtlas + Texture import domain
|
|
427
|
+
// tools. Built-in 2D module (SpriteAtlas / SpriteAtlasAsset /
|
|
428
|
+
// SpriteAtlasPackingSettings / SpriteAtlasTextureSettings in UnityEngine.U2D /
|
|
429
|
+
// UnityEditor.U2D + TextureImporter in UnityEditor) — ungated in the bridge
|
|
430
|
+
// (no UNITY_OPEN_MCP_EXT_2D define), always compiled. The `2d` group is hidden
|
|
431
|
+
// from ListTools until the session activates it via manage_tools. Two prefixes
|
|
432
|
+
// share one group: spriteatlas_* (create/get/add_packable/remove_packable/
|
|
433
|
+
// modify/delete/list) and texture_* (get_importer/set_import/reimport/get).
|
|
434
|
+
// Mutating members (spriteatlas_create/add_packable/remove_packable/modify/
|
|
435
|
+
// delete + texture_set_import/reimport) run the full gate path with
|
|
436
|
+
// EditorSettle (the .spriteatlas asset is written/reimported; texture
|
|
437
|
+
// reimports can take seconds and may trigger a platform-switch domain reload)
|
|
438
|
+
// and paths_hint scoped to the asset path. Read-only members (spriteatlas_get/
|
|
439
|
+
// list + texture_get_importer/get) are gate-free. spriteatlas_set_import folds
|
|
440
|
+
// sprite + normal-map presets into one structured settings_json patch instead
|
|
441
|
+
// of separate set_sprite / set_normalmap tools (cleaner, fewer IDs).
|
|
442
|
+
import { spriteatlasCreate } from "./spriteatlas-create.js";
|
|
443
|
+
import { spriteatlasGet } from "./spriteatlas-get.js";
|
|
444
|
+
import { spriteatlasAddPackable } from "./spriteatlas-add-packable.js";
|
|
445
|
+
import { spriteatlasRemovePackable } from "./spriteatlas-remove-packable.js";
|
|
446
|
+
import { spriteatlasModify } from "./spriteatlas-modify.js";
|
|
447
|
+
import { spriteatlasDelete } from "./spriteatlas-delete.js";
|
|
448
|
+
import { spriteatlasList } from "./spriteatlas-list.js";
|
|
449
|
+
import { textureGetImporter } from "./texture-get-importer.js";
|
|
450
|
+
import { textureSetImport } from "./texture-set-import.js";
|
|
451
|
+
import { textureReimport } from "./texture-reimport.js";
|
|
452
|
+
import { textureGet } from "./texture-get.js";
|
|
453
|
+
import { hubListEditors } from "./hub-list-editors.js";
|
|
454
|
+
import { hubAvailableReleases } from "./hub-available-releases.js";
|
|
455
|
+
import { hubInstallEditor } from "./hub-install-editor.js";
|
|
456
|
+
import { hubInstallModules } from "./hub-install-modules.js";
|
|
457
|
+
import { hubGetInstallPath } from "./hub-get-install-path.js";
|
|
458
|
+
import { hubSetInstallPath } from "./hub-set-install-path.js";
|
|
213
459
|
export const M2_TOOLS = [
|
|
214
460
|
ping,
|
|
215
461
|
executeCsharp,
|
|
@@ -219,7 +465,7 @@ export const M2_TOOLS = [
|
|
|
219
465
|
compileCheck,
|
|
220
466
|
];
|
|
221
467
|
export const M2_5_TOOLS = [editorStatus];
|
|
222
|
-
export const M3_TOOLS = [validateEdit, checkpointCreate, delta, findReferences, scanPaths, applyFix];
|
|
468
|
+
export const M3_TOOLS = [validateEdit, checkpointCreate, delta, findReferences, dependencies, scanPaths, applyFix];
|
|
223
469
|
export const M5_TOOLS = [scanAll, baselineCreate, regressionCheck];
|
|
224
470
|
export const M9_TOOLS = [reserialize, readAsset, searchAssets, listAssets];
|
|
225
471
|
export const M10_TOOLS = [
|
|
@@ -242,10 +488,19 @@ export const M10_TOOLS = [
|
|
|
242
488
|
//
|
|
243
489
|
// M20 Plan 1 / T20.1.2 adds screenshot_window (EditorWindow capture; Win-only
|
|
244
490
|
// full-fidelity, cross-platform best-effort readback with platformLimited).
|
|
491
|
+
//
|
|
492
|
+
// M20 Plan 1 / T20.1.3 adds frame_debugger (reflection over Unity's internal
|
|
493
|
+
// Frame Debugger — enable/disable/list draw calls; non-mutating Editor state,
|
|
494
|
+
// gate-free).
|
|
495
|
+
//
|
|
496
|
+
// M20 Plan 1 / T20.1.4 adds profiler_capture_frame (single-frame deep profiler
|
|
497
|
+
// capture; returns the sample tree for the requested modules).
|
|
245
498
|
export const M20_PLAN1_TOOLS = [
|
|
246
499
|
screenshotCamera,
|
|
247
500
|
captureInline,
|
|
248
501
|
screenshotWindow,
|
|
502
|
+
frameDebugger,
|
|
503
|
+
profilerCaptureFrame,
|
|
249
504
|
];
|
|
250
505
|
export const M11_TOOLS = [agentCapabilities, generateSkill];
|
|
251
506
|
export const M12_TOOLS = [listRules];
|
|
@@ -262,9 +517,9 @@ export const M14_TOOLS = [readCompileErrors];
|
|
|
262
517
|
// (operators / the Validation Suite reach them; the agent skill does NOT
|
|
263
518
|
// document them in mutate/gate sections). See docs/api/mcp-tools.md.
|
|
264
519
|
export const BRIDGE_ADMIN_TOOLS = [bridgeStatus];
|
|
265
|
-
// M18 Plan 2 / T18.2.2 —
|
|
266
|
-
//
|
|
267
|
-
//
|
|
520
|
+
// M18 Plan 2 / T18.2.2 — manage_tools meta-tool. Server-only, local-routed,
|
|
521
|
+
// and always visible regardless of which groups the current session has
|
|
522
|
+
// activated (see ALWAYS_VISIBLE_TOOLS in tool-session-state.ts).
|
|
268
523
|
export const M18_PLAN2_TOOLS = [manageTools];
|
|
269
524
|
// M16 Plan 1 — Project & Asset Management typed tools. Mutating members run
|
|
270
525
|
// the full gate path with `paths_hint`; read-only members (shader reads,
|
|
@@ -325,6 +580,9 @@ export const M16_PLAN3_TOOLS = [
|
|
|
325
580
|
sceneGetData,
|
|
326
581
|
sceneGetDirtySummary,
|
|
327
582
|
sceneFocus,
|
|
583
|
+
// M20 Plan 9 / T20.9.4 — SceneView camera pose-level tools.
|
|
584
|
+
sceneviewGetCamera,
|
|
585
|
+
sceneviewSetCamera,
|
|
328
586
|
];
|
|
329
587
|
// M16 Plan 4 — Package Manager typed tools. Mutating members (add / remove)
|
|
330
588
|
// run the full gate path with `paths_hint` = ["Packages/manifest.json"] and
|
|
@@ -337,6 +595,7 @@ export const M16_PLAN4_TOOLS = [
|
|
|
337
595
|
packageSearch,
|
|
338
596
|
packageAdd,
|
|
339
597
|
packageRemove,
|
|
598
|
+
reimportPackage,
|
|
340
599
|
packageGetInfo,
|
|
341
600
|
packageGetDependencies,
|
|
342
601
|
packageCheck,
|
|
@@ -357,6 +616,9 @@ export const M16_PLAN5_TOOLS = [
|
|
|
357
616
|
selectionSet,
|
|
358
617
|
editorUndo,
|
|
359
618
|
editorRedo,
|
|
619
|
+
// M20 Plan 9 / T20.9.4 — undo stack read/reset tools.
|
|
620
|
+
editorUndoHistory,
|
|
621
|
+
editorClearHistory,
|
|
360
622
|
editorGetTags,
|
|
361
623
|
editorGetLayers,
|
|
362
624
|
editorAddTag,
|
|
@@ -439,6 +701,22 @@ export const M16_PLAN9_TOOLS = [
|
|
|
439
701
|
settingsSetPhysics,
|
|
440
702
|
settingsGetLighting,
|
|
441
703
|
settingsSetLighting,
|
|
704
|
+
// M20 Plan 9 / T20.9.2 — KV preferences. PlayerPrefs + EditorPrefs share the
|
|
705
|
+
// build-settings group (project configuration surface). set / delete are
|
|
706
|
+
// mutating but gate-free (registry writes — no asset scope).
|
|
707
|
+
playerprefsGet,
|
|
708
|
+
playerprefsSet,
|
|
709
|
+
playerprefsDelete,
|
|
710
|
+
editorprefsGet,
|
|
711
|
+
editorprefsSet,
|
|
712
|
+
editorprefsDelete,
|
|
713
|
+
// M20 Plan 9 / T20.9.3 — Project Settings remainder. set_time /
|
|
714
|
+
// set_quality_level run the gate (ProjectSettings asset writes);
|
|
715
|
+
// get_time / get_render_pipeline are gate-free.
|
|
716
|
+
settingsGetTime,
|
|
717
|
+
settingsSetTime,
|
|
718
|
+
settingsGetRenderPipeline,
|
|
719
|
+
settingsSetQualityLevel,
|
|
442
720
|
];
|
|
443
721
|
// M16 Plan 10 / T6.6.2 — Navigation (NavMesh) extension tools. Extension pack
|
|
444
722
|
// tools ship their tool definitions in the core MCP server (so capabilities
|
|
@@ -448,8 +726,7 @@ export const M16_PLAN9_TOOLS = [
|
|
|
448
726
|
// modifier_add / modifier_volume_add / link_add / agent_add /
|
|
449
727
|
// agent_set_destination / modify) run the full gate path with paths_hint
|
|
450
728
|
// scoped to the host scene path; surface_bake is the heavy op (EditorSettle).
|
|
451
|
-
// Read-only members (list / get) are gate-free.
|
|
452
|
-
// kebab `navigation-*` ids in the upstream Unity-MCP reference pack.
|
|
729
|
+
// Read-only members (list / get) are gate-free.
|
|
453
730
|
export const M16_PLAN10_TOOLS = [
|
|
454
731
|
navigationSurfaceAdd,
|
|
455
732
|
navigationSetBakeSettings,
|
|
@@ -470,8 +747,7 @@ export const M16_PLAN10_TOOLS = [
|
|
|
470
747
|
// mutating members (asset_create / actionmap_add / action_add / binding_add /
|
|
471
748
|
// binding_composite_add / controlscheme_add) run the full gate path with
|
|
472
749
|
// paths_hint scoped to the .inputactions asset; the read-only member (get) is
|
|
473
|
-
// gate-free.
|
|
474
|
-
// upstream Unity-MCP reference pack.
|
|
750
|
+
// gate-free.
|
|
475
751
|
export const M16_PLAN10_INPUTSYSTEM_TOOLS = [
|
|
476
752
|
inputsystemAssetCreate,
|
|
477
753
|
inputsystemActionmapAdd,
|
|
@@ -487,8 +763,7 @@ export const M16_PLAN10_INPUTSYSTEM_TOOLS = [
|
|
|
487
763
|
// new GameObject to the active scene); delete_faces is the lone DESTRUCTIVE
|
|
488
764
|
// tool. The read-only member (get_mesh_info) is gate-free. Face selection is
|
|
489
765
|
// index-based or semantic (Up / Down / Left / Right / Forward / Back) — never
|
|
490
|
-
// SceneView mouse picking.
|
|
491
|
-
// in the upstream Unity-MCP reference pack.
|
|
766
|
+
// SceneView mouse picking.
|
|
492
767
|
export const M16_PLAN10_PROBUILDER_TOOLS = [
|
|
493
768
|
probuilderCreateShape,
|
|
494
769
|
probuilderGetMeshInfo,
|
|
@@ -499,11 +774,10 @@ export const M16_PLAN10_PROBUILDER_TOOLS = [
|
|
|
499
774
|
// M16 Plan 10 / T6.6.9 — Particle System extension tools. The lone mutator
|
|
500
775
|
// (particle_system_modify) runs the full gate path with paths_hint scoped to
|
|
501
776
|
// the host scene path; the read-only member (particle_system_get) is gate-free.
|
|
502
|
-
//
|
|
503
|
-
//
|
|
504
|
-
//
|
|
505
|
-
//
|
|
506
|
-
// structured unknownFields report instead of guessing.
|
|
777
|
+
// modify uses a per-module field-patch surface (module discriminator +
|
|
778
|
+
// fields_json) instead of an opaque reflective SerializedMember payload —
|
|
779
|
+
// agents get up-front field-name validation and a structured unknownFields
|
|
780
|
+
// report instead of guessing.
|
|
507
781
|
export const M16_PLAN10_PARTICLESYSTEM_TOOLS = [
|
|
508
782
|
particleSystemGet,
|
|
509
783
|
particleSystemModify,
|
|
@@ -513,10 +787,9 @@ export const M16_PLAN10_PARTICLESYSTEM_TOOLS = [
|
|
|
513
787
|
// animator_create / animator_modify) run the full gate path with paths_hint
|
|
514
788
|
// scoped to the asset path (.anim or .controller); the two modify tools are
|
|
515
789
|
// DESTRUCTIVE — some modification types are irreversible without undo. Read-
|
|
516
|
-
// only members (animation_get_data / animator_get_data) are gate-free.
|
|
517
|
-
//
|
|
518
|
-
//
|
|
519
|
-
// entries dispatched by `type`; per-entry errors are accumulated, not thrown.
|
|
790
|
+
// only members (animation_get_data / animator_get_data) are gate-free. modify
|
|
791
|
+
// accepts a JSON array of modification entries dispatched by `type`; per-entry
|
|
792
|
+
// errors are accumulated, not thrown.
|
|
520
793
|
export const M16_PLAN10_ANIMATION_TOOLS = [
|
|
521
794
|
animationCreate,
|
|
522
795
|
animationGetData,
|
|
@@ -532,8 +805,6 @@ export const M16_PLAN10_ANIMATION_TOOLS = [
|
|
|
532
805
|
// set_knot / set_tangent_mode / modify) run the full gate path with paths_hint
|
|
533
806
|
// scoped to the host scene path (container_create adds a new GameObject to the
|
|
534
807
|
// active scene). Two read-only members (evaluate / get_knots) are gate-free.
|
|
535
|
-
// The seven tools mirror the kebab `splines-*` ids in the upstream
|
|
536
|
-
// Unity-AI-Splines reference pack.
|
|
537
808
|
export const M18_PLAN7_SPLINES_TOOLS = [
|
|
538
809
|
splinesContainerCreate,
|
|
539
810
|
splinesAddKnot,
|
|
@@ -543,6 +814,231 @@ export const M18_PLAN7_SPLINES_TOOLS = [
|
|
|
543
814
|
splinesGetKnots,
|
|
544
815
|
splinesModify,
|
|
545
816
|
];
|
|
817
|
+
// M20 Plan 2 / T20.2 — Lighting domain tools. Built-in lighting module —
|
|
818
|
+
// ungated in the bridge (always compiled). Five mutating members (light_add /
|
|
819
|
+
// light_set / light_modify / reflection_probe_bake / skybox_set) run the full
|
|
820
|
+
// gate path with paths_hint scoped to the host scene path. The bake is the
|
|
821
|
+
// long mutation (EditorSettle). Two read-only members (reflection_probe_get /
|
|
822
|
+
// skybox_get) are gate-free.
|
|
823
|
+
export const M20_PLAN2_LIGHTING_TOOLS = [
|
|
824
|
+
lightAdd,
|
|
825
|
+
lightSet,
|
|
826
|
+
lightModify,
|
|
827
|
+
reflectionProbeBake,
|
|
828
|
+
reflectionProbeGet,
|
|
829
|
+
skyboxSet,
|
|
830
|
+
skyboxGet,
|
|
831
|
+
];
|
|
832
|
+
// M20 Plan 3 / T20.3.1 — Audio domain tools. Built-in audio module — ungated
|
|
833
|
+
// in the bridge (always compiled). Three mutating members (audio_source_add /
|
|
834
|
+
// audio_source_modify / audio_mixer_set_parameter) run the full gate path with
|
|
835
|
+
// paths_hint scoped to the host scene path (audio_source_*) or the mixer asset
|
|
836
|
+
// path (audio_mixer_set_parameter). Two read-only members (audio_listener_get /
|
|
837
|
+
// audio_mixer_get_parameter) are gate-free.
|
|
838
|
+
export const M20_PLAN3_AUDIO_TOOLS = [
|
|
839
|
+
audioSourceAdd,
|
|
840
|
+
audioSourceModify,
|
|
841
|
+
audioMixerSetParameter,
|
|
842
|
+
audioListenerGet,
|
|
843
|
+
audioMixerGetParameter,
|
|
844
|
+
];
|
|
845
|
+
// M20 Plan 3 / T20.3.2 — UI (uGUI) domain tools. Built-in UI module — ungated
|
|
846
|
+
// in the bridge (always compiled). Four mutating members (ui_canvas_add /
|
|
847
|
+
// ui_element_add / ui_layout_group_add / ui_element_modify) run the full gate
|
|
848
|
+
// path with paths_hint scoped to the host / new-root / parent scene path.
|
|
849
|
+
// TextMesh Pro (TMP_Text) is optional — when absent, ui_element_add returns
|
|
850
|
+
// `tmp_package_required` (no silent legacy-Text fallback). The Canvas-companion
|
|
851
|
+
// ensure (CanvasScaler + GraphicRaycaster + EventSystem) is the documented
|
|
852
|
+
// advantage — a canvas-only tool creates the Canvas alone.
|
|
853
|
+
export const M20_PLAN3_UI_TOOLS = [
|
|
854
|
+
uiCanvasAdd,
|
|
855
|
+
uiElementAdd,
|
|
856
|
+
uiLayoutGroupAdd,
|
|
857
|
+
uiElementModify,
|
|
858
|
+
];
|
|
859
|
+
// M20 Plan 3 / T20.3.3 — Constraints & LOD domain tools. Built-in engine
|
|
860
|
+
// modules — ungated in the bridge (always compiled). Three mutating members
|
|
861
|
+
// (constraint_add / lod_group_configure / lod_add_level) run the full gate
|
|
862
|
+
// path with paths_hint scoped to the host scene path. constraint_add seeds an
|
|
863
|
+
// optional source Transform + weight + activation; lod_group_configure
|
|
864
|
+
// allocates the LOD array; lod_add_level wires renderers per level. One
|
|
865
|
+
// `constraints` group covers both concerns because they are small and closely
|
|
866
|
+
// related.
|
|
867
|
+
export const M20_PLAN3_CONSTRAINTS_TOOLS = [
|
|
868
|
+
constraintAdd,
|
|
869
|
+
lodGroupConfigure,
|
|
870
|
+
lodAddLevel,
|
|
871
|
+
];
|
|
872
|
+
// M20 Plan 4 / T20.4 — Terrain domain tools. Built-in Terrain module —
|
|
873
|
+
// ungated in the bridge (always compiled). Five mutating members
|
|
874
|
+
// (terrain_create / terrain_set_heights / terrain_paint_layer /
|
|
875
|
+
// terrain_place_trees / terrain_set_neighbors) run the full gate path with
|
|
876
|
+
// paths_hint scoped to the host scene path (+ asset paths when
|
|
877
|
+
// terrain_create / terrain_paint_layer write assets). terrain_create allocates
|
|
878
|
+
// TerrainData + a Terrain GameObject; terrain_set_heights writes a heightmap
|
|
879
|
+
// region (cap 513x513 per call); terrain_paint_layer paints a splat layer
|
|
880
|
+
// (seeding a new TerrainLayer when the index is new); terrain_place_trees
|
|
881
|
+
// places tree instances (seeding a prototype from a prefab when the index is
|
|
882
|
+
// new); terrain_set_neighbors stitches neighbor terrains for LOD. Absorbs
|
|
883
|
+
// backlog T6.6.7.
|
|
884
|
+
export const M20_PLAN4_TERRAIN_TOOLS = [
|
|
885
|
+
terrainCreate,
|
|
886
|
+
terrainSetHeights,
|
|
887
|
+
terrainPaintLayer,
|
|
888
|
+
terrainPlaceTrees,
|
|
889
|
+
terrainSetNeighbors,
|
|
890
|
+
];
|
|
891
|
+
// M20 Plan 5 / T20.5 — typed ScriptableObject + Assembly Definition tools. Two
|
|
892
|
+
// core (always-on, no Unity package dependency) tool sets for ScriptableObject
|
|
893
|
+
// CRUD (§B7) and Assembly Definitions (§B8). scriptableobject_create is the
|
|
894
|
+
// gate-integrated create path (the read/info surface stays on object_get_data /
|
|
895
|
+
// object_modify); it applies optional initial field patches reusing
|
|
896
|
+
// object_modify's value vocabulary. list_assets_of_type is a read-only typed
|
|
897
|
+
// list-by-type (offline-routeable in principle). The asmdef family parses
|
|
898
|
+
// .asmdef as JSON (hand-rolled reader/writer — no Newtonsoft, per the bridge
|
|
899
|
+
// AGENTS.md): list/get are read-only (offline-routeable); create/modify use
|
|
900
|
+
// the RestartThenSettle lifecycle so the gate waits for the recompile to
|
|
901
|
+
// settle (the advantage over an ungated asmdef mutator).
|
|
902
|
+
export const M20_PLAN5_TOOLS = [
|
|
903
|
+
scriptableObjectCreate,
|
|
904
|
+
listAssetsOfType,
|
|
905
|
+
asmdefList,
|
|
906
|
+
asmdefGet,
|
|
907
|
+
asmdefCreate,
|
|
908
|
+
asmdefModify,
|
|
909
|
+
];
|
|
910
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine extension tools. The only reflection-
|
|
911
|
+
// gated domain pack in the bridge (the assembly always compiles; Cinemachine
|
|
912
|
+
// 3.x presence is detected at call time). Six mutating members
|
|
913
|
+
// (create_camera / set_targets / set_lens / set_body / set_noise /
|
|
914
|
+
// brain_ensure) run the full gate path with paths_hint scoped to the host
|
|
915
|
+
// scene path (create_camera adds a new GameObject to the active scene). One
|
|
916
|
+
// read-only member (camera_list) is gate-free. The canonical reflection case
|
|
917
|
+
// named in M18 Plan 1 T18.1.1 task 5 (version-split API trigger).
|
|
918
|
+
export const M20_PLAN6_CINEMACHINE_TOOLS = [
|
|
919
|
+
cinemachineCreateCamera,
|
|
920
|
+
cinemachineSetTargets,
|
|
921
|
+
cinemachineSetLens,
|
|
922
|
+
cinemachineSetBody,
|
|
923
|
+
cinemachineSetNoise,
|
|
924
|
+
cinemachineBrainEnsure,
|
|
925
|
+
cinemachineCameraList,
|
|
926
|
+
];
|
|
927
|
+
// M20 Plan 6 / T20.6.2 — Timeline extension tools. Compile-gated in the
|
|
928
|
+
// bridge (UNITY_OPEN_MCP_EXT_TIMELINE on com.unity.timeline). All five
|
|
929
|
+
// members (create / track_add / clip_add / director_bind / modify) are
|
|
930
|
+
// mutating and run the full gate path. create produces a .playable asset;
|
|
931
|
+
// director_bind mutates a scene PlayableDirector; modify is a reflective
|
|
932
|
+
// field-patch escape hatch.
|
|
933
|
+
export const M20_PLAN6_TIMELINE_TOOLS = [
|
|
934
|
+
timelineCreate,
|
|
935
|
+
timelineTrackAdd,
|
|
936
|
+
timelineClipAdd,
|
|
937
|
+
timelineDirectorBind,
|
|
938
|
+
timelineModify,
|
|
939
|
+
];
|
|
940
|
+
// M20 Plan 6 / T20.6.3 — Tilemap extension tools. Compile-gated in the
|
|
941
|
+
// bridge by UNITY_OPEN_MCP_EXT_TILEMAP (com.unity.2d.tilemap), with an inner
|
|
942
|
+
// UNITY_OPEN_MCP_EXT_TILEMAP_EXTRAS guard around create_rule_tile's body
|
|
943
|
+
// (when tilemap.extras is absent, the tool compiles in but returns a clear
|
|
944
|
+
// tilemap_extras_required install error — two defines, two guards). All five
|
|
945
|
+
// members (create / set_tile / box_fill / create_tile_asset /
|
|
946
|
+
// create_rule_tile) are mutating and run the full gate path.
|
|
947
|
+
export const M20_PLAN6_TILEMAP_TOOLS = [
|
|
948
|
+
tilemapCreate,
|
|
949
|
+
tilemapSetTile,
|
|
950
|
+
tilemapBoxFill,
|
|
951
|
+
tilemapCreateTileAsset,
|
|
952
|
+
tilemapCreateRuleTile,
|
|
953
|
+
];
|
|
954
|
+
// M20 Plan 7 / T20.7.1 — Shader Graph extension tools. Compile-gated in the
|
|
955
|
+
// bridge (UNITY_OPEN_MCP_EXT_SHADERGRAPH on com.unity.shadergraph) AND auto-
|
|
956
|
+
// activating — the first domain under the package-detection auto-activation
|
|
957
|
+
// model (M20 Plan 7 / T20.7.0). Three mutating members (create / node_add /
|
|
958
|
+
// node_connect) run the full gate path with paths_hint scoped to the
|
|
959
|
+
// .shadergraph asset path; open is a read-only window bring-up (Gate = Off)
|
|
960
|
+
// returning a structured node/edge summary. The editing API is wrapped behind
|
|
961
|
+
// a reflection helper; when the installed package version exposes a different
|
|
962
|
+
// surface, mutating tools return a structured shadergraph_api_unavailable
|
|
963
|
+
// error instead of throwing. Complementary to shader_get_data / shader_list_all
|
|
964
|
+
// (which read compiled shader properties, not the graph).
|
|
965
|
+
export const M20_PLAN7_SHADERGRAPH_TOOLS = [
|
|
966
|
+
shaderGraphCreate,
|
|
967
|
+
shaderGraphOpen,
|
|
968
|
+
shaderGraphNodeAdd,
|
|
969
|
+
shaderGraphNodeConnect,
|
|
970
|
+
];
|
|
971
|
+
// M20 Plan 7 / T20.7.2 — VFX Graph extension tools. Compile-gated in the
|
|
972
|
+
// bridge (UNITY_OPEN_MCP_EXT_VFX on com.unity.visualeffectgraph) AND auto-
|
|
973
|
+
// activating — the second domain under the package-detection auto-activation
|
|
974
|
+
// model (M20 Plan 7 / T20.7.0). list / open are read-only (Gate = Off) returning
|
|
975
|
+
// a structured context/block/property summary; block_edit is the lone mutating
|
|
976
|
+
// member (Gate = Enforce, paths_hint = .vfx asset path). VFX Graph's editor
|
|
977
|
+
// graph model is internal/unstable — list/open work over the public runtime
|
|
978
|
+
// VisualEffectAsset type (version-stable); block_edit reflects over the editor
|
|
979
|
+
// graph and requires the VFX Graph window to be open, degrading to a structured
|
|
980
|
+
// vfx_block_edit_requires_editor_window error otherwise.
|
|
981
|
+
export const M20_PLAN7_VFX_TOOLS = [
|
|
982
|
+
vfxList,
|
|
983
|
+
vfxOpen,
|
|
984
|
+
vfxBlockEdit,
|
|
985
|
+
];
|
|
986
|
+
// M20 Plan 7 / T20.7.3 — Memory Profiler snapshot capture. Compile-gated in
|
|
987
|
+
// the bridge (UNITY_OPEN_MCP_EXT_MEMORYPROFILER on com.unity.memoryprofiler) +
|
|
988
|
+
// auto-activating — the third domain under the package-detection auto-activation
|
|
989
|
+
// model (M20 Plan 7 / T20.7.0). Sense-prefixed (unity_senses_*) because it
|
|
990
|
+
// pairs with the existing senses profiler family rather than the typed-editor
|
|
991
|
+
// surface. Read-only re: game/project state but produces a .snap file —
|
|
992
|
+
// Gate = Off, ReadOnlyHint = true, Lifecycle = EditorSettle. The capture is
|
|
993
|
+
// callback-based (async); the bridge reflects over whichever capture surface
|
|
994
|
+
// the installed version exposes (Unity.Profiling.Memory.MemoryProfiler or
|
|
995
|
+
// UnityEditor.MemoryProfiler) and blocks until the callback fires, so the tool
|
|
996
|
+
// returns a definitive path/result. Pairs with profiler_get_script_stats /
|
|
997
|
+
// profiler_capture_frame for a fuller performance picture than a standalone
|
|
998
|
+
// memory tool.
|
|
999
|
+
export const M20_PLAN7_MEMORYPROFILER_TOOLS = [
|
|
1000
|
+
memorySnapshotCapture,
|
|
1001
|
+
];
|
|
1002
|
+
// M20 Plan 9 / T20.9.1 — 2D art pipeline (SpriteAtlas + Texture import) domain
|
|
1003
|
+
// tools. Built-in 2D module — ungated in the bridge (always compiled). Seven
|
|
1004
|
+
// spriteatlas_* members + four texture_* members share one `2d` group. Five
|
|
1005
|
+
// mutating spriteatlas members (create / add_packable / remove_packable /
|
|
1006
|
+
// modify / delete) run the full gate path with EditorSettle and paths_hint
|
|
1007
|
+
// scoped to the .spriteatlas asset path; spriteatlas_delete is destructive.
|
|
1008
|
+
// Two mutating texture members (set_import / reimport) run the full gate path
|
|
1009
|
+
// with EditorSettle (reimport can take seconds / trigger a platform-switch
|
|
1010
|
+
// domain reload); set_import folds sprite + normal-map presets into one
|
|
1011
|
+
// structured settings_json patch. Two read-only spriteatlas members (get /
|
|
1012
|
+
// list) and two read-only texture members (get_importer / get) are gate-free.
|
|
1013
|
+
export const M20_PLAN9_2D_TOOLS = [
|
|
1014
|
+
spriteatlasCreate,
|
|
1015
|
+
spriteatlasGet,
|
|
1016
|
+
spriteatlasAddPackable,
|
|
1017
|
+
spriteatlasRemovePackable,
|
|
1018
|
+
spriteatlasModify,
|
|
1019
|
+
spriteatlasDelete,
|
|
1020
|
+
spriteatlasList,
|
|
1021
|
+
textureGetImporter,
|
|
1022
|
+
textureSetImport,
|
|
1023
|
+
textureReimport,
|
|
1024
|
+
textureGet,
|
|
1025
|
+
];
|
|
1026
|
+
// M26 Plan 2 — Unity Hub control tools. Local-routed (resolved inside the MCP
|
|
1027
|
+
// server: filesystem discovery + Unity archive feed + unityhub:// deep link +
|
|
1028
|
+
// Hub CLI). Never hit the Unity bridge or spawn Unity. Read-only members
|
|
1029
|
+
// (list_editors, available_releases, get_install_path) are gate-free; mutating
|
|
1030
|
+
// members (install_editor, install_modules, set_install_path) are system-level
|
|
1031
|
+
// ops where paths_hint is N/A, so they are gate-free too (the gate validates
|
|
1032
|
+
// project-asset fallout, which does not apply). Live in the `unity-hub-control`
|
|
1033
|
+
// group (activate via manage_tools); not always-visible meta-tools.
|
|
1034
|
+
export const M26_PLAN2_HUB_TOOLS = [
|
|
1035
|
+
hubListEditors,
|
|
1036
|
+
hubAvailableReleases,
|
|
1037
|
+
hubInstallEditor,
|
|
1038
|
+
hubInstallModules,
|
|
1039
|
+
hubGetInstallPath,
|
|
1040
|
+
hubSetInstallPath,
|
|
1041
|
+
];
|
|
546
1042
|
export const ALL_TOOLS = [
|
|
547
1043
|
...M2_TOOLS,
|
|
548
1044
|
...M2_5_TOOLS,
|
|
@@ -572,5 +1068,19 @@ export const ALL_TOOLS = [
|
|
|
572
1068
|
...M16_PLAN10_ANIMATION_TOOLS,
|
|
573
1069
|
...M18_PLAN2_TOOLS,
|
|
574
1070
|
...M18_PLAN7_SPLINES_TOOLS,
|
|
1071
|
+
...M20_PLAN2_LIGHTING_TOOLS,
|
|
1072
|
+
...M20_PLAN3_AUDIO_TOOLS,
|
|
1073
|
+
...M20_PLAN3_UI_TOOLS,
|
|
1074
|
+
...M20_PLAN3_CONSTRAINTS_TOOLS,
|
|
1075
|
+
...M20_PLAN4_TERRAIN_TOOLS,
|
|
1076
|
+
...M20_PLAN5_TOOLS,
|
|
1077
|
+
...M20_PLAN6_CINEMACHINE_TOOLS,
|
|
1078
|
+
...M20_PLAN6_TIMELINE_TOOLS,
|
|
1079
|
+
...M20_PLAN6_TILEMAP_TOOLS,
|
|
1080
|
+
...M20_PLAN7_SHADERGRAPH_TOOLS,
|
|
1081
|
+
...M20_PLAN7_VFX_TOOLS,
|
|
1082
|
+
...M20_PLAN7_MEMORYPROFILER_TOOLS,
|
|
1083
|
+
...M20_PLAN9_2D_TOOLS,
|
|
1084
|
+
...M26_PLAN2_HUB_TOOLS,
|
|
575
1085
|
];
|
|
576
1086
|
//# sourceMappingURL=index.js.map
|