unity-open-mcp 0.1.2 → 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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine camera_list. Reflection-gated. Read-only,
|
|
2
|
+
// gate-free — agents use it to discover valid camera instance_ids before
|
|
3
|
+
// mutating.
|
|
4
|
+
export const cinemachineCameraList = {
|
|
5
|
+
name: "unity_open_mcp_cinemachine_camera_list",
|
|
6
|
+
description: "List every CinemachineCamera in loaded scenes. Returns each camera's " +
|
|
7
|
+
"instance id, path, priority, Follow / Look At targets, and Body/Aim/Noise " +
|
|
8
|
+
"component names. Read-only, gate-free. Requires Cinemachine 3.x.",
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: "object",
|
|
11
|
+
properties: {},
|
|
12
|
+
additionalProperties: false,
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=cinemachine-camera-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-camera-list.js","sourceRoot":"","sources":["../../src/tools/cinemachine-camera-list.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,yEAAyE;AACzE,YAAY;AACZ,MAAM,CAAC,MAAM,qBAAqB,GAAS;IACzC,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,uEAAuE;QACvE,4EAA4E;QAC5E,kEAAkE;IACpE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;QACd,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine extension tool. Reflection-gated in the
|
|
2
|
+
// bridge (the assembly always compiles; the Cinemachine 3.x presence is
|
|
3
|
+
// detected at call time, returning cinemachine_3x_required /
|
|
4
|
+
// cinemachine_package_required when unsupported). Mutating: runs the full gate
|
|
5
|
+
// path; paths_hint is the active scene path (the new GameObject lives there).
|
|
6
|
+
export const cinemachineCreateCamera = {
|
|
7
|
+
name: "unity_open_mcp_cinemachine_create_camera",
|
|
8
|
+
description: "Create a new GameObject carrying a CinemachineCamera (Cinemachine 3.x) in " +
|
|
9
|
+
"the active scene. Optionally set name, position, rotation, parent_path, " +
|
|
10
|
+
"priority, and follow / look_at targets (instance_id or hierarchy path). " +
|
|
11
|
+
"Mutating: runs the full gate path; paths_hint is the active scene path. " +
|
|
12
|
+
"Requires Cinemachine 3.x (`com.unity.cinemachine` >= 3.x).",
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: "object",
|
|
15
|
+
required: ["paths_hint"],
|
|
16
|
+
properties: {
|
|
17
|
+
name: { type: "string", description: "Optional GameObject name." },
|
|
18
|
+
parent_path: {
|
|
19
|
+
type: "string",
|
|
20
|
+
description: "Optional slash-separated hierarchy path to a parent GameObject.",
|
|
21
|
+
},
|
|
22
|
+
position: { type: "string", description: "Optional position as 'x,y,z'." },
|
|
23
|
+
rotation: { type: "string", description: "Optional Euler rotation (degrees) as 'x,y,z'." },
|
|
24
|
+
priority: {
|
|
25
|
+
type: "integer",
|
|
26
|
+
default: 0,
|
|
27
|
+
description: "Camera priority (higher wins the Brain's active slot).",
|
|
28
|
+
},
|
|
29
|
+
follow_instance_id: {
|
|
30
|
+
type: "integer",
|
|
31
|
+
description: "Optional Follow target GameObject instance id.",
|
|
32
|
+
},
|
|
33
|
+
follow_path: {
|
|
34
|
+
type: "string",
|
|
35
|
+
description: "Optional Follow target hierarchy path (used when follow_instance_id is 0).",
|
|
36
|
+
},
|
|
37
|
+
look_at_instance_id: {
|
|
38
|
+
type: "integer",
|
|
39
|
+
description: "Optional Look At target GameObject instance id.",
|
|
40
|
+
},
|
|
41
|
+
look_at_path: {
|
|
42
|
+
type: "string",
|
|
43
|
+
description: "Optional Look At target hierarchy path.",
|
|
44
|
+
},
|
|
45
|
+
paths_hint: {
|
|
46
|
+
type: "array",
|
|
47
|
+
items: { type: "string" },
|
|
48
|
+
description: "Mutation scope — the active scene path (the new GameObject lives there).",
|
|
49
|
+
},
|
|
50
|
+
gate: { enum: ["enforce", "warn", "off"], default: "enforce" },
|
|
51
|
+
},
|
|
52
|
+
additionalProperties: false,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=cinemachine-create-camera.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-create-camera.js","sourceRoot":"","sources":["../../src/tools/cinemachine-create-camera.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,wEAAwE;AACxE,6DAA6D;AAC7D,+EAA+E;AAC/E,8EAA8E;AAC9E,MAAM,CAAC,MAAM,uBAAuB,GAAS;IAC3C,IAAI,EAAE,0CAA0C;IAChD,WAAW,EACT,4EAA4E;QAC5E,0EAA0E;QAC1E,0EAA0E;QAC1E,0EAA0E;QAC1E,4DAA4D;IAC9D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,CAAC;QACxB,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,2BAA2B,EAAE;YAClE,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iEAAiE;aAC/E;YACD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+BAA+B,EAAE;YAC1E,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+CAA+C,EAAE;YAC1F,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,wDAAwD;aACtE;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,gDAAgD;aAC9D;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4EAA4E;aAC1F;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,iDAAiD;aAC/D;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,yCAAyC;aACvD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,0EAA0E;aACxF;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;SAC/D;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine set_body. Reflection-gated. Mutating.
|
|
2
|
+
export const cinemachineSetBody = {
|
|
3
|
+
name: "unity_open_mcp_cinemachine_set_body",
|
|
4
|
+
description: "Add or replace the Body component on a CinemachineCamera (the 3.x " +
|
|
5
|
+
"position-control pipeline). body_name selects the component type " +
|
|
6
|
+
"(e.g. CinemachineFollow, CinemachineFramingTransposer, " +
|
|
7
|
+
"CinemachineHardLockToTarget). The current Body component (if any) is " +
|
|
8
|
+
"removed when its type differs. Mutating: runs the full gate path; " +
|
|
9
|
+
"paths_hint is the host scene path. Requires Cinemachine 3.x.",
|
|
10
|
+
inputSchema: {
|
|
11
|
+
type: "object",
|
|
12
|
+
required: ["paths_hint", "body_name"],
|
|
13
|
+
properties: {
|
|
14
|
+
instance_id: { type: "integer", description: "CinemachineCamera host GameObject instance id." },
|
|
15
|
+
path: { type: "string", description: "Host hierarchy path." },
|
|
16
|
+
name: { type: "string", description: "Host name (last-resort resolver)." },
|
|
17
|
+
body_name: {
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Unqualified Cinemachine Body component type name, e.g. " +
|
|
20
|
+
"'CinemachineFollow', 'CinemachineFramingTransposer', " +
|
|
21
|
+
"'CinemachineHardLockToTarget'.",
|
|
22
|
+
},
|
|
23
|
+
paths_hint: {
|
|
24
|
+
type: "array",
|
|
25
|
+
items: { type: "string" },
|
|
26
|
+
description: "Mutation scope — the host scene path.",
|
|
27
|
+
},
|
|
28
|
+
gate: { enum: ["enforce", "warn", "off"], default: "enforce" },
|
|
29
|
+
},
|
|
30
|
+
additionalProperties: false,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=cinemachine-set-body.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-set-body.js","sourceRoot":"","sources":["../../src/tools/cinemachine-set-body.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,MAAM,CAAC,MAAM,kBAAkB,GAAS;IACtC,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,oEAAoE;QACpE,mEAAmE;QACnE,yDAAyD;QACzD,uEAAuE;QACvE,oEAAoE;QACpE,8DAA8D;IAChE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;QACrC,UAAU,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gDAAgD,EAAE;YAC/F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,sBAAsB,EAAE;YAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;YAC1E,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,yDAAyD;oBACzD,uDAAuD;oBACvD,gCAAgC;aACnC;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,uCAAuC;aACrD;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;SAC/D;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine set_lens. Reflection-gated. Mutating.
|
|
2
|
+
export const cinemachineSetLens = {
|
|
3
|
+
name: "unity_open_mcp_cinemachine_set_lens",
|
|
4
|
+
description: "Set lens settings on a CinemachineCamera. Fields: field_of_view (degrees), " +
|
|
5
|
+
"near_clip, far_clip, dutch (degrees, lens roll). Omitted fields keep the " +
|
|
6
|
+
"current value. Mutating: runs the full gate path; paths_hint is the host " +
|
|
7
|
+
"scene path. Requires Cinemachine 3.x.",
|
|
8
|
+
inputSchema: {
|
|
9
|
+
type: "object",
|
|
10
|
+
required: ["paths_hint"],
|
|
11
|
+
properties: {
|
|
12
|
+
instance_id: { type: "integer", description: "CinemachineCamera host GameObject instance id." },
|
|
13
|
+
path: { type: "string", description: "Host hierarchy path." },
|
|
14
|
+
name: { type: "string", description: "Host name (last-resort resolver)." },
|
|
15
|
+
field_of_view: {
|
|
16
|
+
type: "number",
|
|
17
|
+
description: "Field of view in degrees. Pass a value <= 0 to leave unchanged.",
|
|
18
|
+
},
|
|
19
|
+
near_clip: {
|
|
20
|
+
type: "number",
|
|
21
|
+
description: "Near clip plane. Pass <= 0 to leave unchanged.",
|
|
22
|
+
},
|
|
23
|
+
far_clip: {
|
|
24
|
+
type: "number",
|
|
25
|
+
description: "Far clip plane. Pass <= 0 to leave unchanged.",
|
|
26
|
+
},
|
|
27
|
+
dutch: {
|
|
28
|
+
type: "number",
|
|
29
|
+
description: "Lens roll (degrees). Pass a value <= -1000 to leave unchanged.",
|
|
30
|
+
},
|
|
31
|
+
paths_hint: {
|
|
32
|
+
type: "array",
|
|
33
|
+
items: { type: "string" },
|
|
34
|
+
description: "Mutation scope — the host scene path.",
|
|
35
|
+
},
|
|
36
|
+
gate: { enum: ["enforce", "warn", "off"], default: "enforce" },
|
|
37
|
+
},
|
|
38
|
+
additionalProperties: false,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=cinemachine-set-lens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-set-lens.js","sourceRoot":"","sources":["../../src/tools/cinemachine-set-lens.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,MAAM,CAAC,MAAM,kBAAkB,GAAS;IACtC,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,6EAA6E;QAC7E,2EAA2E;QAC3E,2EAA2E;QAC3E,uCAAuC;IACzC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,CAAC;QACxB,UAAU,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gDAAgD,EAAE;YAC/F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,sBAAsB,EAAE;YAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;YAC1E,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iEAAiE;aAC/E;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gDAAgD;aAC9D;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+CAA+C;aAC7D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gEAAgE;aAC9E;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,uCAAuC;aACrD;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;SAC/D;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine set_noise. Reflection-gated. Mutating.
|
|
2
|
+
export const cinemachineSetNoise = {
|
|
3
|
+
name: "unity_open_mcp_cinemachine_set_noise",
|
|
4
|
+
description: "Add or replace the Noise component on a CinemachineCamera. noise_name " +
|
|
5
|
+
"selects the component type (e.g. CinemachineBasicMultiChannelPerlin, the " +
|
|
6
|
+
"standard shake component). The current Noise component (if any) is " +
|
|
7
|
+
"removed when its type differs. Mutating: runs the full gate path; " +
|
|
8
|
+
"paths_hint is the host scene path. Requires Cinemachine 3.x.",
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: "object",
|
|
11
|
+
required: ["paths_hint", "noise_name"],
|
|
12
|
+
properties: {
|
|
13
|
+
instance_id: { type: "integer", description: "CinemachineCamera host GameObject instance id." },
|
|
14
|
+
path: { type: "string", description: "Host hierarchy path." },
|
|
15
|
+
name: { type: "string", description: "Host name (last-resort resolver)." },
|
|
16
|
+
noise_name: {
|
|
17
|
+
type: "string",
|
|
18
|
+
description: "Unqualified Cinemachine Noise component type name, e.g. " +
|
|
19
|
+
"'CinemachineBasicMultiChannelPerlin'.",
|
|
20
|
+
},
|
|
21
|
+
paths_hint: {
|
|
22
|
+
type: "array",
|
|
23
|
+
items: { type: "string" },
|
|
24
|
+
description: "Mutation scope — the host scene path.",
|
|
25
|
+
},
|
|
26
|
+
gate: { enum: ["enforce", "warn", "off"], default: "enforce" },
|
|
27
|
+
},
|
|
28
|
+
additionalProperties: false,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=cinemachine-set-noise.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-set-noise.js","sourceRoot":"","sources":["../../src/tools/cinemachine-set-noise.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,MAAM,CAAC,MAAM,mBAAmB,GAAS;IACvC,IAAI,EAAE,sCAAsC;IAC5C,WAAW,EACT,wEAAwE;QACxE,2EAA2E;QAC3E,qEAAqE;QACrE,oEAAoE;QACpE,8DAA8D;IAChE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;QACtC,UAAU,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gDAAgD,EAAE;YAC/F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,sBAAsB,EAAE;YAC7D,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;YAC1E,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0DAA0D;oBAC1D,uCAAuC;aAC1C;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,uCAAuC;aACrD;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;SAC/D;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// M20 Plan 6 / T20.6.1 — Cinemachine set_targets. Reflection-gated in the
|
|
2
|
+
// bridge. Mutating: runs the full gate path; paths_hint is the host scene path.
|
|
3
|
+
export const cinemachineSetTargets = {
|
|
4
|
+
name: "unity_open_mcp_cinemachine_set_targets",
|
|
5
|
+
description: "Set the Follow and/or Look At targets on a CinemachineCamera. Each target " +
|
|
6
|
+
"is addressed by instance_id or path; omit a target to leave it unchanged. " +
|
|
7
|
+
"Mutating: runs the full gate path; paths_hint is the host scene path. " +
|
|
8
|
+
"Requires Cinemachine 3.x.",
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: "object",
|
|
11
|
+
required: ["paths_hint"],
|
|
12
|
+
properties: {
|
|
13
|
+
instance_id: { type: "integer", description: "CinemachineCamera host GameObject instance id." },
|
|
14
|
+
path: { type: "string", description: "Host hierarchy path (used when instance_id is 0)." },
|
|
15
|
+
name: { type: "string", description: "Host name (last-resort resolver)." },
|
|
16
|
+
follow_instance_id: { type: "integer", description: "Follow target GameObject instance id." },
|
|
17
|
+
follow_path: { type: "string", description: "Follow target hierarchy path." },
|
|
18
|
+
look_at_instance_id: { type: "integer", description: "Look At target GameObject instance id." },
|
|
19
|
+
look_at_path: { type: "string", description: "Look At target hierarchy path." },
|
|
20
|
+
paths_hint: {
|
|
21
|
+
type: "array",
|
|
22
|
+
items: { type: "string" },
|
|
23
|
+
description: "Mutation scope — the host scene path.",
|
|
24
|
+
},
|
|
25
|
+
gate: { enum: ["enforce", "warn", "off"], default: "enforce" },
|
|
26
|
+
},
|
|
27
|
+
additionalProperties: false,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=cinemachine-set-targets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cinemachine-set-targets.js","sourceRoot":"","sources":["../../src/tools/cinemachine-set-targets.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,gFAAgF;AAChF,MAAM,CAAC,MAAM,qBAAqB,GAAS;IACzC,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT,4EAA4E;QAC5E,4EAA4E;QAC5E,wEAAwE;QACxE,2BAA2B;IAC7B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,CAAC;QACxB,UAAU,EAAE;YACV,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gDAAgD,EAAE;YAC/F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mDAAmD,EAAE;YAC1F,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,mCAAmC,EAAE;YAC1E,kBAAkB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,uCAAuC,EAAE;YAC7F,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,+BAA+B,EAAE;YAC7E,mBAAmB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,wCAAwC,EAAE;YAC/F,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,gCAAgC,EAAE;YAC/E,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EAAE,uCAAuC;aACrD;YACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE;SAC/D;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// M16 Plan 5 — typed console log. Writes a log/warning/error to the Editor
|
|
2
2
|
// console from the agent. Gate-free direct-response tool: it emits a message
|
|
3
3
|
// to the console but writes no assets, so no gate validation is meaningful.
|
|
4
|
-
//
|
|
5
|
-
//
|
|
4
|
+
// The emitted entry surfaces in the next unity_senses_read_console /
|
|
5
|
+
// unity_senses_pull_events call.
|
|
6
6
|
export const consoleLog = {
|
|
7
7
|
name: "unity_open_mcp_console_log",
|
|
8
8
|
description: "Write a log / warning / error message to the Unity Editor console from " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-log.js","sourceRoot":"","sources":["../../src/tools/console-log.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,6EAA6E;AAC7E,4EAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"console-log.js","sourceRoot":"","sources":["../../src/tools/console-log.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,6EAA6E;AAC7E,4EAA4E;AAC5E,qEAAqE;AACrE,iCAAiC;AACjC,MAAM,CAAC,MAAM,UAAU,GAAS;IAC9B,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,yEAAyE;QACzE,yEAAyE;QACzE,wEAAwE;QACxE,yEAAyE;QACzE,2EAA2E;QAC3E,0EAA0E;QAC1E,sEAAsE;IACxE,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,SAAS,CAAC;QACrB,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;aACzD;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC;gBACjC,OAAO,EAAE,KAAK;gBACd,WAAW,EACT,6DAA6D;oBAC7D,0EAA0E;aAC7E;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,WAAW,EACT,iEAAiE;oBACjE,kEAAkE;oBAClE,uDAAuD;aAC1D;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,sEAAsE;oBACtE,qEAAqE;oBACrE,4CAA4C;aAC/C;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// M20 Plan 3 / T20.3.3 — Constraints & LOD domain tool. Built-in engine
|
|
2
|
+
// modules (UnityEngine.AnimationModule for constraints, UnityEngine.CoreModule
|
|
3
|
+
// for LODGroup) — no extra UPM; the `constraints` group is hidden until
|
|
4
|
+
// manage_tools activates it. Mutating: runs the full gate path; paths_hint is
|
|
5
|
+
// the host scene path. Address the host by instance_id > path > name (same
|
|
6
|
+
// model as gameobject_* / component_*). Param shape: type + source + activate.
|
|
7
|
+
const targetSchema = {
|
|
8
|
+
instance_id: {
|
|
9
|
+
type: "integer",
|
|
10
|
+
default: 0,
|
|
11
|
+
description: "Host GameObject instance ID. Highest priority resolver.",
|
|
12
|
+
},
|
|
13
|
+
path: {
|
|
14
|
+
type: "string",
|
|
15
|
+
description: "Host hierarchy path \"Root/Child\".",
|
|
16
|
+
},
|
|
17
|
+
name: {
|
|
18
|
+
type: "string",
|
|
19
|
+
description: "Host GameObject name (first match). Lowest priority resolver.",
|
|
20
|
+
},
|
|
21
|
+
paths_hint: {
|
|
22
|
+
type: "array",
|
|
23
|
+
items: { type: "string" },
|
|
24
|
+
description: "Mutation scope — the host scene path. No whole-project fallback.",
|
|
25
|
+
},
|
|
26
|
+
gate: {
|
|
27
|
+
enum: ["enforce", "warn", "off"],
|
|
28
|
+
default: "enforce",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export const constraintAdd = {
|
|
32
|
+
name: "unity_open_mcp_constraint_add",
|
|
33
|
+
description: "Add an animation constraint component to a GameObject. constraint_type is one of " +
|
|
34
|
+
"PositionConstraint | RotationConstraint | AimConstraint | ParentConstraint | " +
|
|
35
|
+
"ScaleConstraint. Optional: source_path (the constrained-to Transform, resolved " +
|
|
36
|
+
"to a GameObject and its Transform taken), weight (0-1, default 1), " +
|
|
37
|
+
"constraint_active (default true). Idempotent — re-using an existing constraint of " +
|
|
38
|
+
"the same type reports added:false (source / weight / activation still applied). " +
|
|
39
|
+
"Mutating: runs the full gate path; paths_hint is the host scene path. Built-in " +
|
|
40
|
+
"engine modules (no package dependency); the constraints group is hidden until " +
|
|
41
|
+
"manage_tools activates it.",
|
|
42
|
+
inputSchema: {
|
|
43
|
+
type: "object",
|
|
44
|
+
required: ["constraint_type", "paths_hint"],
|
|
45
|
+
properties: {
|
|
46
|
+
...targetSchema,
|
|
47
|
+
constraint_type: {
|
|
48
|
+
type: "string",
|
|
49
|
+
enum: [
|
|
50
|
+
"PositionConstraint",
|
|
51
|
+
"RotationConstraint",
|
|
52
|
+
"AimConstraint",
|
|
53
|
+
"ParentConstraint",
|
|
54
|
+
"ScaleConstraint",
|
|
55
|
+
],
|
|
56
|
+
description: "Animation constraint type to add.",
|
|
57
|
+
},
|
|
58
|
+
source_path: {
|
|
59
|
+
type: "string",
|
|
60
|
+
description: "Source GameObject hierarchy path (its Transform is taken). Optional.",
|
|
61
|
+
},
|
|
62
|
+
source_instance_id: {
|
|
63
|
+
type: "integer",
|
|
64
|
+
default: 0,
|
|
65
|
+
description: "Source GameObject instance ID. Highest priority source resolver.",
|
|
66
|
+
},
|
|
67
|
+
source_name: {
|
|
68
|
+
type: "string",
|
|
69
|
+
description: "Source GameObject name (first match). Lowest priority source resolver.",
|
|
70
|
+
},
|
|
71
|
+
weight: {
|
|
72
|
+
type: "number",
|
|
73
|
+
default: 1,
|
|
74
|
+
description: "Source weight (0-1). Clamped. Ignored when no source is provided.",
|
|
75
|
+
},
|
|
76
|
+
constraint_active: {
|
|
77
|
+
type: "boolean",
|
|
78
|
+
default: true,
|
|
79
|
+
description: "Whether the constraint is active after add.",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
additionalProperties: false,
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=constraint-add.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constraint-add.js","sourceRoot":"","sources":["../../src/tools/constraint-add.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,+EAA+E;AAC/E,wEAAwE;AACxE,8EAA8E;AAC9E,2EAA2E;AAC3E,+EAA+E;AAC/E,MAAM,YAAY,GAAG;IACnB,WAAW,EAAE;QACX,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,yDAAyD;KACvE;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,qCAAqC;KACnD;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,+DAA+D;KAC7E;IACD,UAAU,EAAE;QACV,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACzB,WAAW,EAAE,kEAAkE;KAChF;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC;QAChC,OAAO,EAAE,SAAS;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAS;IACjC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EACT,mFAAmF;QACnF,+EAA+E;QAC/E,iFAAiF;QACjF,qEAAqE;QACrE,oFAAoF;QACpF,kFAAkF;QAClF,iFAAiF;QACjF,gFAAgF;QAChF,4BAA4B;IAC9B,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,iBAAiB,EAAE,YAAY,CAAC;QAC3C,UAAU,EAAE;YACV,GAAG,YAAY;YACf,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE;oBACJ,oBAAoB;oBACpB,oBAAoB;oBACpB,eAAe;oBACf,kBAAkB;oBAClB,iBAAiB;iBAClB;gBACD,WAAW,EAAE,mCAAmC;aACjD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sEAAsE;aACpF;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,kEAAkE;aAChF;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wEAAwE;aACtF;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,mEAAmE;aACjF;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,6CAA6C;aAC3D;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// M20 Plan 7.5 / T20.7.5.3 — forward + reverse dependency edges for a single
|
|
2
|
+
// asset, exposed as a typed tool. Complements `unity_open_mcp_find_references`
|
|
3
|
+
// (reverse-only) by returning BOTH edge directions in one call, plus the
|
|
4
|
+
// broken_forward_guids / cycles sets the `dependencies` verify rule computes.
|
|
5
|
+
// No second dependency graph is built — the live handler reuses the same
|
|
6
|
+
// Dependencies.Scanner (forward) + ReferenceGraph (reverse) the rule and
|
|
7
|
+
// find_references already run against; the offline handler reuses the same
|
|
8
|
+
// GUID→path index + raw-text reference scan find_references runs against.
|
|
9
|
+
//
|
|
10
|
+
// M24 Plan 2 / T24.2 — the tool is now OFFLINE-ROUTEABLE. When no bridge is
|
|
11
|
+
// connected, forward edges come from parsing the queried asset's YAML on disk,
|
|
12
|
+
// reverse edges from the offline reference scan, and broken/cycle/impact sets
|
|
13
|
+
// are computed offline too (impact = transitive reverse closure, an offline-
|
|
14
|
+
// only addition the live tool does not yet expose). The offline path covers
|
|
15
|
+
// text-serialized YAML assets; JSON/binary kinds surface a `forwardSkipped`
|
|
16
|
+
// reason and empty forward arrays (reverse edges are unaffected).
|
|
17
|
+
export const dependencies = {
|
|
18
|
+
name: "unity_open_mcp_dependencies",
|
|
19
|
+
description: "Forward AND reverse dependency edges for an asset in one typed call. " +
|
|
20
|
+
"Returns the assets this asset depends on (forward), the assets that " +
|
|
21
|
+
"depend on this asset (reverse), plus broken forward-edge GUIDs and " +
|
|
22
|
+
"dependency cycles. Reuses the same scanners as the `dependencies` " +
|
|
23
|
+
"verify rule (forward) and `unity_open_mcp_find_references` (reverse) " +
|
|
24
|
+
"— no second dependency graph. Set include_impact=true for the transitive " +
|
|
25
|
+
"reverse closure ('what breaks if I delete/move this?'). " +
|
|
26
|
+
"Works offline (parsing YAML on disk) when no Editor is running, or via " +
|
|
27
|
+
"the live bridge when connected. Use find_references for reverse-only " +
|
|
28
|
+
"lookups.",
|
|
29
|
+
inputSchema: {
|
|
30
|
+
type: "object",
|
|
31
|
+
properties: {
|
|
32
|
+
asset_path: {
|
|
33
|
+
type: "string",
|
|
34
|
+
description: "Asset path (e.g. Assets/Prefabs/Player.prefab). Either asset_path or guid is required.",
|
|
35
|
+
},
|
|
36
|
+
guid: {
|
|
37
|
+
type: "string",
|
|
38
|
+
pattern: "^[0-9a-fA-F]{32}$",
|
|
39
|
+
description: "Asset GUID (32 hex chars). Either asset_path or guid is required.",
|
|
40
|
+
},
|
|
41
|
+
detail: {
|
|
42
|
+
enum: ["summary", "normal"],
|
|
43
|
+
default: "normal",
|
|
44
|
+
description: "summary: counts only (forwardCount / reverseCount), edge rosters omitted. " +
|
|
45
|
+
"normal (default): full forward + reverse edge rosters (capped by max_results on the reverse side).",
|
|
46
|
+
},
|
|
47
|
+
max_results: {
|
|
48
|
+
type: "integer",
|
|
49
|
+
default: 100,
|
|
50
|
+
description: "Maximum number of reverse-dependency entries to return. Forward edges are not capped (a single asset's forward set is bounded).",
|
|
51
|
+
},
|
|
52
|
+
include_impact: {
|
|
53
|
+
type: "boolean",
|
|
54
|
+
default: false,
|
|
55
|
+
description: "Include the transitive reverse closure — every asset that " +
|
|
56
|
+
"(transitively) depends on the queried asset, with hop depth. This " +
|
|
57
|
+
"is the 'what breaks if I delete/move this?' answer. Off by default " +
|
|
58
|
+
"(the multi-hop BFS is the expensive part of the call). Offline only.",
|
|
59
|
+
},
|
|
60
|
+
max_impact_depth: {
|
|
61
|
+
type: "integer",
|
|
62
|
+
default: 5,
|
|
63
|
+
minimum: 1,
|
|
64
|
+
maximum: 20,
|
|
65
|
+
description: "Max hop depth for the include_impact BFS (default 5). Bounds the " +
|
|
66
|
+
"walk on large graphs; the response reports `truncated` when the " +
|
|
67
|
+
"closure hit the depth bound before exhausting the graph. Offline only.",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
oneOf: [
|
|
71
|
+
{ required: ["asset_path"] },
|
|
72
|
+
{ required: ["guid"] },
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=dependencies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../src/tools/dependencies.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,+EAA+E;AAC/E,yEAAyE;AACzE,8EAA8E;AAC9E,yEAAyE;AACzE,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E;AAC1E,EAAE;AACF,4EAA4E;AAC5E,+EAA+E;AAC/E,8EAA8E;AAC9E,6EAA6E;AAC7E,4EAA4E;AAC5E,4EAA4E;AAC5E,kEAAkE;AAClE,MAAM,CAAC,MAAM,YAAY,GAAS;IAChC,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,uEAAuE;QACvE,sEAAsE;QACtE,qEAAqE;QACrE,oEAAoE;QACpE,uEAAuE;QACvE,2EAA2E;QAC3E,0DAA0D;QAC1D,yEAAyE;QACzE,uEAAuE;QACvE,UAAU;IACZ,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wFAAwF;aACtG;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;gBAC5B,WAAW,EAAE,mEAAmE;aACjF;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;gBAC3B,OAAO,EAAE,QAAQ;gBACjB,WAAW,EACT,4EAA4E;oBAC5E,oGAAoG;aACvG;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,GAAG;gBACZ,WAAW,EAAE,iIAAiI;aAC/I;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EACT,4DAA4D;oBAC5D,oEAAoE;oBACpE,qEAAqE;oBACrE,sEAAsE;aACzE;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,mEAAmE;oBACnE,kEAAkE;oBAClE,wEAAwE;aAC3E;SACF;QACD,KAAK,EAAE;YACL,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE;YAC5B,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE;SACvB;KACF;CACF,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// M16 Plan 5 — typed editor add tag. Mutating: appends a user tag to the
|
|
2
2
|
// TagManager (ProjectSettings/TagManager.asset) and saves it. Runs the full
|
|
3
|
-
// gate path with paths_hint scoped to that asset.
|
|
4
|
-
//
|
|
5
|
-
// names are reserved.
|
|
3
|
+
// gate path with paths_hint scoped to that asset. Idempotent: a tag that
|
|
4
|
+
// already exists is a no-op (saved:false). Built-in tag names are reserved.
|
|
6
5
|
export const editorAddTag = {
|
|
7
6
|
name: "unity_open_mcp_editor_add_tag",
|
|
8
7
|
description: "Add a user-defined tag to the project's TagManager. Mutating: appends the " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-add-tag.js","sourceRoot":"","sources":["../../src/tools/editor-add-tag.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,4EAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"editor-add-tag.js","sourceRoot":"","sources":["../../src/tools/editor-add-tag.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,4EAA4E;AAC5E,yEAAyE;AACzE,4EAA4E;AAC5E,MAAM,CAAC,MAAM,YAAY,GAAS;IAChC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EACT,4EAA4E;QAC5E,wEAAwE;QACxE,0DAA0D;QAC1D,yEAAyE;QACzE,2EAA2E;QAC3E,wEAAwE;QACxE,yEAAyE;QACzE,0EAA0E;QAC1E,8DAA8D;QAC9D,0CAA0C;IAC5C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;QAC/B,UAAU,EAAE;YACV,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,qEAAqE;oBACrE,8CAA8C;aACjD;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EACT,qEAAqE;oBACrE,sBAAsB;aACzB;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC;gBAChC,OAAO,EAAE,SAAS;aACnB;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// M20 Plan 9 / T20.9.4 — undo/redo stack reset. Irreversible editor-state
|
|
2
|
+
// mutation (history loss), recorded via gate.
|
|
3
|
+
export const editorClearHistory = {
|
|
4
|
+
name: "unity_open_mcp_editor_clear_history",
|
|
5
|
+
description: "Clear the editor undo/redo history stack. Irreversible (history cannot be " +
|
|
6
|
+
"recovered). Mutating editor state: runs the gate path and requires " +
|
|
7
|
+
"`paths_hint` scoped to the active scene path.",
|
|
8
|
+
inputSchema: {
|
|
9
|
+
type: "object",
|
|
10
|
+
required: ["paths_hint"],
|
|
11
|
+
properties: {
|
|
12
|
+
paths_hint: {
|
|
13
|
+
type: "array",
|
|
14
|
+
items: { type: "string" },
|
|
15
|
+
description: "Mutation scope — active scene path (records undo-history reset in gate history).",
|
|
16
|
+
},
|
|
17
|
+
gate: {
|
|
18
|
+
enum: ["enforce", "warn", "off"],
|
|
19
|
+
default: "enforce",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
additionalProperties: false,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=editor-clear-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-clear-history.js","sourceRoot":"","sources":["../../src/tools/editor-clear-history.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,8CAA8C;AAC9C,MAAM,CAAC,MAAM,kBAAkB,GAAS;IACtC,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,4EAA4E;QAC5E,qEAAqE;QACrE,+CAA+C;IACjD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,YAAY,CAAC;QACxB,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,WAAW,EACT,kFAAkF;aACrF;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC;gBAChC,OAAO,EAAE,SAAS;aACnB;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// M16 Plan 5 — typed editor layers read. Read-only: lists every non-empty
|
|
2
|
-
// layer slot (index 0–31) from the TagManager. Gate-free.
|
|
3
|
-
//
|
|
4
|
-
//
|
|
2
|
+
// layer slot (index 0–31) from the TagManager. Gate-free. Pair with
|
|
3
|
+
// editor_add_layer for the mutating side, and gameobject_modify (layer) for
|
|
4
|
+
// consumers.
|
|
5
5
|
export const editorGetLayers = {
|
|
6
6
|
name: "unity_open_mcp_editor_get_layers",
|
|
7
7
|
description: "List every non-empty layer slot configured in the project's TagManager " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-get-layers.js","sourceRoot":"","sources":["../../src/tools/editor-get-layers.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"editor-get-layers.js","sourceRoot":"","sources":["../../src/tools/editor-get-layers.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,oEAAoE;AACpE,4EAA4E;AAC5E,aAAa;AACb,MAAM,CAAC,MAAM,eAAe,GAAS;IACnC,IAAI,EAAE,kCAAkC;IACxC,WAAW,EACT,yEAAyE;QACzE,qEAAqE;QACrE,uEAAuE;QACvE,mEAAmE;QACnE,uEAAuE;QACvE,wEAAwE;QACxE,wEAAwE;QACxE,yEAAyE;QACzE,oDAAoD;IACtD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;QACd,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// M16 Plan 5 — typed editor tags read. Read-only: lists every configured tag
|
|
2
|
-
// from the TagManager. Gate-free.
|
|
3
|
-
//
|
|
2
|
+
// from the TagManager. Gate-free. Pair with editor_add_tag for the mutating
|
|
3
|
+
// side.
|
|
4
4
|
export const editorGetTags = {
|
|
5
5
|
name: "unity_open_mcp_editor_get_tags",
|
|
6
6
|
description: "List every tag configured in the project's TagManager (the Tags list " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-get-tags.js","sourceRoot":"","sources":["../../src/tools/editor-get-tags.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,
|
|
1
|
+
{"version":3,"file":"editor-get-tags.js","sourceRoot":"","sources":["../../src/tools/editor-get-tags.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,4EAA4E;AAC5E,QAAQ;AACR,MAAM,CAAC,MAAM,aAAa,GAAS;IACjC,IAAI,EAAE,gCAAgC;IACtC,WAAW,EACT,uEAAuE;QACvE,qEAAqE;QACrE,oEAAoE;QACpE,2EAA2E;QAC3E,2EAA2E;QAC3E,2EAA2E;QAC3E,wEAAwE;IAC1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;QACd,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// M16 Plan 5 — typed editor redo. Mutates editor undo state but writes no
|
|
2
|
-
// assets — routes as a gate-free direct-response tool.
|
|
3
|
-
//
|
|
4
|
-
// mutators.
|
|
2
|
+
// assets — routes as a gate-free direct-response tool (Undo.PerformRedo).
|
|
3
|
+
// Pair with editor_undo and the undo-recorded typed mutators.
|
|
5
4
|
export const editorRedo = {
|
|
6
5
|
name: "unity_open_mcp_editor_redo",
|
|
7
6
|
description: "Perform an editor Redo — re-applies the most recent undone action (one " +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-redo.js","sourceRoot":"","sources":["../../src/tools/editor-redo.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E
|
|
1
|
+
{"version":3,"file":"editor-redo.js","sourceRoot":"","sources":["../../src/tools/editor-redo.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,0EAA0E;AAC1E,8DAA8D;AAC9D,MAAM,CAAC,MAAM,UAAU,GAAS;IAC9B,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,yEAAyE;QACzE,qEAAqE;QACrE,0EAA0E;QAC1E,4EAA4E;QAC5E,mEAAmE;QACnE,+CAA+C;IACjD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,CAAC;gBACV,WAAW,EACT,mEAAmE;oBACnE,wBAAwB;aAC3B;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// M20 Plan 9 / T20.9.4 — undo/redo stack read. Read-only counterpart to
|
|
2
|
+
// editor_undo / editor_redo / editor_clear_history.
|
|
3
|
+
export const editorUndoHistory = {
|
|
4
|
+
name: "unity_open_mcp_editor_undo_history",
|
|
5
|
+
description: "Read the recent editor undo/redo stack entries (names) with a bounded " +
|
|
6
|
+
"result size. Read-only and gate-free. Returns count/total/truncated so " +
|
|
7
|
+
"agents can detect when the local cap clipped the timeline.",
|
|
8
|
+
inputSchema: {
|
|
9
|
+
type: "object",
|
|
10
|
+
properties: {
|
|
11
|
+
max_entries: {
|
|
12
|
+
type: "integer",
|
|
13
|
+
minimum: 1,
|
|
14
|
+
default: 50,
|
|
15
|
+
description: "Requested number of recent entries. The bridge enforces a hard cap of 50.",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
additionalProperties: false,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=editor-undo-history.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor-undo-history.js","sourceRoot":"","sources":["../../src/tools/editor-undo-history.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,oDAAoD;AACpD,MAAM,CAAC,MAAM,iBAAiB,GAAS;IACrC,IAAI,EAAE,oCAAoC;IAC1C,WAAW,EACT,wEAAwE;QACxE,yEAAyE;QACzE,4DAA4D;IAC9D,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,2EAA2E;aAC9E;SACF;QACD,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAC"}
|