unreal-engine-mcp-server 0.4.7 → 0.5.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/.env.example +26 -0
- package/.env.production +38 -7
- package/.eslintrc.json +0 -54
- package/.eslintrc.override.json +8 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +94 -0
- package/.github/ISSUE_TEMPLATE/config.yml +8 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +56 -0
- package/.github/copilot-instructions.md +478 -45
- package/.github/dependabot.yml +19 -0
- package/.github/labeler.yml +24 -0
- package/.github/labels.yml +70 -0
- package/.github/pull_request_template.md +42 -0
- package/.github/release-drafter.yml +148 -0
- package/.github/workflows/auto-merge.yml +38 -0
- package/.github/workflows/ci.yml +38 -0
- package/.github/workflows/dependency-review.yml +17 -0
- package/.github/workflows/gemini-issue-triage.yml +172 -0
- package/.github/workflows/greetings.yml +23 -0
- package/.github/workflows/labeler.yml +16 -0
- package/.github/workflows/links.yml +80 -0
- package/.github/workflows/pr-size-labeler.yml +137 -0
- package/.github/workflows/publish-mcp.yml +12 -7
- package/.github/workflows/release-drafter.yml +23 -0
- package/.github/workflows/release.yml +112 -0
- package/.github/workflows/semantic-pull-request.yml +35 -0
- package/.github/workflows/smoke-test.yml +36 -0
- package/.github/workflows/stale.yml +28 -0
- package/CHANGELOG.md +267 -31
- package/CONTRIBUTING.md +140 -0
- package/README.md +166 -71
- package/claude_desktop_config_example.json +7 -6
- package/dist/automation/bridge.d.ts +50 -0
- package/dist/automation/bridge.js +452 -0
- package/dist/automation/connection-manager.d.ts +23 -0
- package/dist/automation/connection-manager.js +107 -0
- package/dist/automation/handshake.d.ts +11 -0
- package/dist/automation/handshake.js +89 -0
- package/dist/automation/index.d.ts +3 -0
- package/dist/automation/index.js +3 -0
- package/dist/automation/message-handler.d.ts +12 -0
- package/dist/automation/message-handler.js +149 -0
- package/dist/automation/request-tracker.d.ts +25 -0
- package/dist/automation/request-tracker.js +98 -0
- package/dist/automation/types.d.ts +130 -0
- package/dist/automation/types.js +2 -0
- package/dist/cli.js +32 -5
- package/dist/config.d.ts +27 -0
- package/dist/config.js +60 -0
- package/dist/constants.d.ts +12 -0
- package/dist/constants.js +12 -0
- package/dist/graphql/resolvers.d.ts +268 -0
- package/dist/graphql/resolvers.js +743 -0
- package/dist/graphql/schema.d.ts +5 -0
- package/dist/graphql/schema.js +437 -0
- package/dist/graphql/server.d.ts +26 -0
- package/dist/graphql/server.js +115 -0
- package/dist/graphql/types.d.ts +7 -0
- package/dist/graphql/types.js +2 -0
- package/dist/handlers/resource-handlers.d.ts +20 -0
- package/dist/handlers/resource-handlers.js +180 -0
- package/dist/index.d.ts +31 -18
- package/dist/index.js +119 -619
- package/dist/prompts/index.js +4 -4
- package/dist/resources/actors.d.ts +17 -12
- package/dist/resources/actors.js +56 -76
- package/dist/resources/assets.d.ts +6 -14
- package/dist/resources/assets.js +115 -147
- package/dist/resources/levels.d.ts +13 -13
- package/dist/resources/levels.js +25 -34
- package/dist/server/resource-registry.d.ts +20 -0
- package/dist/server/resource-registry.js +37 -0
- package/dist/server/tool-registry.d.ts +23 -0
- package/dist/server/tool-registry.js +322 -0
- package/dist/server-setup.d.ts +21 -0
- package/dist/server-setup.js +111 -0
- package/dist/services/health-monitor.d.ts +34 -0
- package/dist/services/health-monitor.js +105 -0
- package/dist/services/metrics-server.d.ts +11 -0
- package/dist/services/metrics-server.js +105 -0
- package/dist/tools/actors.d.ts +147 -9
- package/dist/tools/actors.js +350 -311
- package/dist/tools/animation.d.ts +135 -4
- package/dist/tools/animation.js +510 -411
- package/dist/tools/assets.d.ts +117 -19
- package/dist/tools/assets.js +259 -284
- package/dist/tools/audio.d.ts +102 -42
- package/dist/tools/audio.js +272 -685
- package/dist/tools/base-tool.d.ts +17 -0
- package/dist/tools/base-tool.js +46 -0
- package/dist/tools/behavior-tree.d.ts +94 -0
- package/dist/tools/behavior-tree.js +39 -0
- package/dist/tools/blueprint/helpers.d.ts +29 -0
- package/dist/tools/blueprint/helpers.js +182 -0
- package/dist/tools/blueprint.d.ts +228 -118
- package/dist/tools/blueprint.js +685 -832
- package/dist/tools/consolidated-tool-definitions.d.ts +5462 -1781
- package/dist/tools/consolidated-tool-definitions.js +829 -496
- package/dist/tools/consolidated-tool-handlers.d.ts +2 -1
- package/dist/tools/consolidated-tool-handlers.js +211 -1026
- package/dist/tools/debug.d.ts +143 -85
- package/dist/tools/debug.js +234 -180
- package/dist/tools/dynamic-handler-registry.d.ts +11 -0
- package/dist/tools/dynamic-handler-registry.js +101 -0
- package/dist/tools/editor.d.ts +139 -18
- package/dist/tools/editor.js +239 -244
- package/dist/tools/engine.d.ts +10 -4
- package/dist/tools/engine.js +13 -5
- package/dist/tools/environment.d.ts +36 -0
- package/dist/tools/environment.js +267 -0
- package/dist/tools/foliage.d.ts +105 -14
- package/dist/tools/foliage.js +219 -331
- package/dist/tools/handlers/actor-handlers.d.ts +3 -0
- package/dist/tools/handlers/actor-handlers.js +232 -0
- package/dist/tools/handlers/animation-handlers.d.ts +3 -0
- package/dist/tools/handlers/animation-handlers.js +185 -0
- package/dist/tools/handlers/argument-helper.d.ts +16 -0
- package/dist/tools/handlers/argument-helper.js +80 -0
- package/dist/tools/handlers/asset-handlers.d.ts +3 -0
- package/dist/tools/handlers/asset-handlers.js +496 -0
- package/dist/tools/handlers/audio-handlers.d.ts +3 -0
- package/dist/tools/handlers/audio-handlers.js +166 -0
- package/dist/tools/handlers/blueprint-handlers.d.ts +4 -0
- package/dist/tools/handlers/blueprint-handlers.js +358 -0
- package/dist/tools/handlers/common-handlers.d.ts +14 -0
- package/dist/tools/handlers/common-handlers.js +56 -0
- package/dist/tools/handlers/editor-handlers.d.ts +3 -0
- package/dist/tools/handlers/editor-handlers.js +119 -0
- package/dist/tools/handlers/effect-handlers.d.ts +3 -0
- package/dist/tools/handlers/effect-handlers.js +171 -0
- package/dist/tools/handlers/environment-handlers.d.ts +3 -0
- package/dist/tools/handlers/environment-handlers.js +170 -0
- package/dist/tools/handlers/graph-handlers.d.ts +3 -0
- package/dist/tools/handlers/graph-handlers.js +90 -0
- package/dist/tools/handlers/input-handlers.d.ts +3 -0
- package/dist/tools/handlers/input-handlers.js +21 -0
- package/dist/tools/handlers/inspect-handlers.d.ts +3 -0
- package/dist/tools/handlers/inspect-handlers.js +383 -0
- package/dist/tools/handlers/level-handlers.d.ts +3 -0
- package/dist/tools/handlers/level-handlers.js +237 -0
- package/dist/tools/handlers/lighting-handlers.d.ts +3 -0
- package/dist/tools/handlers/lighting-handlers.js +144 -0
- package/dist/tools/handlers/performance-handlers.d.ts +3 -0
- package/dist/tools/handlers/performance-handlers.js +130 -0
- package/dist/tools/handlers/pipeline-handlers.d.ts +3 -0
- package/dist/tools/handlers/pipeline-handlers.js +110 -0
- package/dist/tools/handlers/sequence-handlers.d.ts +3 -0
- package/dist/tools/handlers/sequence-handlers.js +376 -0
- package/dist/tools/handlers/system-handlers.d.ts +4 -0
- package/dist/tools/handlers/system-handlers.js +506 -0
- package/dist/tools/input.d.ts +19 -0
- package/dist/tools/input.js +89 -0
- package/dist/tools/introspection.d.ts +103 -40
- package/dist/tools/introspection.js +425 -568
- package/dist/tools/landscape.d.ts +97 -36
- package/dist/tools/landscape.js +280 -409
- package/dist/tools/level.d.ts +130 -10
- package/dist/tools/level.js +639 -675
- package/dist/tools/lighting.d.ts +77 -38
- package/dist/tools/lighting.js +441 -943
- package/dist/tools/logs.d.ts +3 -3
- package/dist/tools/logs.js +5 -57
- package/dist/tools/materials.d.ts +91 -24
- package/dist/tools/materials.js +190 -118
- package/dist/tools/niagara.d.ts +149 -39
- package/dist/tools/niagara.js +232 -182
- package/dist/tools/performance.d.ts +27 -12
- package/dist/tools/performance.js +204 -122
- package/dist/tools/physics.d.ts +32 -77
- package/dist/tools/physics.js +171 -582
- package/dist/tools/property-dictionary.d.ts +13 -0
- package/dist/tools/property-dictionary.js +82 -0
- package/dist/tools/sequence.d.ts +73 -48
- package/dist/tools/sequence.js +196 -748
- package/dist/tools/tool-definition-utils.d.ts +59 -0
- package/dist/tools/tool-definition-utils.js +35 -0
- package/dist/tools/ui.d.ts +66 -34
- package/dist/tools/ui.js +134 -214
- package/dist/types/env.d.ts +0 -3
- package/dist/types/env.js +0 -7
- package/dist/types/tool-interfaces.d.ts +898 -0
- package/dist/types/tool-interfaces.js +2 -0
- package/dist/types/tool-types.d.ts +183 -19
- package/dist/types/tool-types.js +0 -4
- package/dist/unreal-bridge.d.ts +24 -131
- package/dist/unreal-bridge.js +364 -1506
- package/dist/utils/command-validator.d.ts +9 -0
- package/dist/utils/command-validator.js +67 -0
- package/dist/utils/elicitation.d.ts +1 -1
- package/dist/utils/elicitation.js +12 -15
- package/dist/utils/error-handler.d.ts +2 -51
- package/dist/utils/error-handler.js +11 -87
- package/dist/utils/ini-reader.d.ts +3 -0
- package/dist/utils/ini-reader.js +69 -0
- package/dist/utils/logger.js +9 -6
- package/dist/utils/normalize.d.ts +3 -0
- package/dist/utils/normalize.js +56 -0
- package/dist/utils/response-factory.d.ts +7 -0
- package/dist/utils/response-factory.js +33 -0
- package/dist/utils/response-validator.d.ts +3 -24
- package/dist/utils/response-validator.js +130 -81
- package/dist/utils/result-helpers.d.ts +4 -5
- package/dist/utils/result-helpers.js +15 -16
- package/dist/utils/safe-json.js +5 -11
- package/dist/utils/unreal-command-queue.d.ts +24 -0
- package/dist/utils/unreal-command-queue.js +120 -0
- package/dist/utils/validation.d.ts +0 -40
- package/dist/utils/validation.js +1 -78
- package/dist/wasm/index.d.ts +70 -0
- package/dist/wasm/index.js +535 -0
- package/docs/GraphQL-API.md +888 -0
- package/docs/Migration-Guide-v0.5.0.md +692 -0
- package/docs/Roadmap.md +53 -0
- package/docs/WebAssembly-Integration.md +628 -0
- package/docs/editor-plugin-extension.md +370 -0
- package/docs/handler-mapping.md +242 -0
- package/docs/native-automation-progress.md +128 -0
- package/docs/testing-guide.md +423 -0
- package/mcp-config-example.json +6 -6
- package/package.json +60 -27
- package/plugins/McpAutomationBridge/Config/FilterPlugin.ini +8 -0
- package/plugins/McpAutomationBridge/McpAutomationBridge.uplugin +64 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/McpAutomationBridge.Build.cs +189 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeGlobals.cpp +22 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeGlobals.h +30 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeHelpers.h +1983 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeModule.cpp +72 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeSettings.cpp +46 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridgeSubsystem.cpp +581 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_AnimationHandlers.cpp +2394 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_AssetQueryHandlers.cpp +300 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_AssetWorkflowHandlers.cpp +2807 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_AudioHandlers.cpp +1087 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BehaviorTreeHandlers.cpp +488 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BlueprintCreationHandlers.cpp +643 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BlueprintCreationHandlers.h +31 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BlueprintGraphHandlers.cpp +1184 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BlueprintHandlers.cpp +5652 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_BlueprintHandlers_List.cpp +152 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_ControlHandlers.cpp +2614 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_DebugHandlers.cpp +42 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_EditorFunctionHandlers.cpp +1237 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_EffectHandlers.cpp +1701 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_EnvironmentHandlers.cpp +2145 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_FoliageHandlers.cpp +954 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_InputHandlers.cpp +209 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_InsightsHandlers.cpp +41 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_LandscapeHandlers.cpp +1164 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_LevelHandlers.cpp +762 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_LightingHandlers.cpp +634 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_LogHandlers.cpp +136 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_MaterialGraphHandlers.cpp +494 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_NiagaraGraphHandlers.cpp +278 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_NiagaraHandlers.cpp +625 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_PerformanceHandlers.cpp +401 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_PipelineHandlers.cpp +67 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_ProcessRequest.cpp +735 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_PropertyHandlers.cpp +2634 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_RenderHandlers.cpp +189 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_SCSHandlers.cpp +917 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_SCSHandlers.h +39 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_SequenceHandlers.cpp +2670 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_SequencerHandlers.cpp +519 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_TestHandlers.cpp +38 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_UiHandlers.cpp +668 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_WorldPartitionHandlers.cpp +346 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpBridgeWebSocket.cpp +1330 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpBridgeWebSocket.h +149 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpConnectionManager.cpp +783 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Public/McpAutomationBridgeSettings.h +115 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Public/McpAutomationBridgeSubsystem.h +796 -0
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Public/McpConnectionManager.h +117 -0
- package/scripts/check-unreal-connection.mjs +19 -0
- package/scripts/clean-tmp.js +23 -0
- package/scripts/patch-wasm.js +26 -0
- package/scripts/run-all-tests.mjs +131 -0
- package/scripts/smoke-test.ts +94 -0
- package/scripts/sync-mcp-plugin.js +143 -0
- package/scripts/test-no-plugin-alternates.mjs +113 -0
- package/scripts/validate-server.js +46 -0
- package/scripts/verify-automation-bridge.js +200 -0
- package/server.json +57 -21
- package/src/automation/bridge.ts +558 -0
- package/src/automation/connection-manager.ts +130 -0
- package/src/automation/handshake.ts +99 -0
- package/src/automation/index.ts +2 -0
- package/src/automation/message-handler.ts +167 -0
- package/src/automation/request-tracker.ts +123 -0
- package/src/automation/types.ts +107 -0
- package/src/cli.ts +33 -6
- package/src/config.ts +73 -0
- package/src/constants.ts +12 -0
- package/src/graphql/resolvers.ts +1010 -0
- package/src/graphql/schema.ts +452 -0
- package/src/graphql/server.ts +154 -0
- package/src/graphql/types.ts +7 -0
- package/src/handlers/resource-handlers.ts +186 -0
- package/src/index.ts +152 -663
- package/src/prompts/index.ts +4 -4
- package/src/resources/actors.ts +58 -76
- package/src/resources/assets.ts +147 -134
- package/src/resources/levels.ts +28 -33
- package/src/server/resource-registry.ts +47 -0
- package/src/server/tool-registry.ts +354 -0
- package/src/server-setup.ts +148 -0
- package/src/services/health-monitor.ts +132 -0
- package/src/services/metrics-server.ts +142 -0
- package/src/tools/actors.ts +417 -322
- package/src/tools/animation.ts +671 -461
- package/src/tools/assets.ts +353 -289
- package/src/tools/audio.ts +323 -766
- package/src/tools/base-tool.ts +52 -0
- package/src/tools/behavior-tree.ts +45 -0
- package/src/tools/blueprint/helpers.ts +189 -0
- package/src/tools/blueprint.ts +787 -965
- package/src/tools/consolidated-tool-definitions.ts +993 -515
- package/src/tools/consolidated-tool-handlers.ts +272 -1139
- package/src/tools/debug.ts +292 -187
- package/src/tools/dynamic-handler-registry.ts +151 -0
- package/src/tools/editor.ts +309 -246
- package/src/tools/engine.ts +14 -3
- package/src/tools/environment.ts +287 -0
- package/src/tools/foliage.ts +314 -379
- package/src/tools/handlers/actor-handlers.ts +271 -0
- package/src/tools/handlers/animation-handlers.ts +237 -0
- package/src/tools/handlers/argument-helper.ts +142 -0
- package/src/tools/handlers/asset-handlers.ts +532 -0
- package/src/tools/handlers/audio-handlers.ts +194 -0
- package/src/tools/handlers/blueprint-handlers.ts +380 -0
- package/src/tools/handlers/common-handlers.ts +87 -0
- package/src/tools/handlers/editor-handlers.ts +123 -0
- package/src/tools/handlers/effect-handlers.ts +220 -0
- package/src/tools/handlers/environment-handlers.ts +183 -0
- package/src/tools/handlers/graph-handlers.ts +116 -0
- package/src/tools/handlers/input-handlers.ts +28 -0
- package/src/tools/handlers/inspect-handlers.ts +450 -0
- package/src/tools/handlers/level-handlers.ts +252 -0
- package/src/tools/handlers/lighting-handlers.ts +147 -0
- package/src/tools/handlers/performance-handlers.ts +132 -0
- package/src/tools/handlers/pipeline-handlers.ts +127 -0
- package/src/tools/handlers/sequence-handlers.ts +415 -0
- package/src/tools/handlers/system-handlers.ts +564 -0
- package/src/tools/input.ts +101 -0
- package/src/tools/introspection.ts +493 -584
- package/src/tools/landscape.ts +394 -489
- package/src/tools/level.ts +752 -694
- package/src/tools/lighting.ts +583 -984
- package/src/tools/logs.ts +9 -57
- package/src/tools/materials.ts +231 -121
- package/src/tools/niagara.ts +293 -168
- package/src/tools/performance.ts +320 -168
- package/src/tools/physics.ts +268 -613
- package/src/tools/property-dictionary.ts +98 -0
- package/src/tools/sequence.ts +255 -815
- package/src/tools/tool-definition-utils.ts +35 -0
- package/src/tools/ui.ts +207 -283
- package/src/types/env.ts +0 -10
- package/src/types/tool-interfaces.ts +250 -0
- package/src/types/tool-types.ts +243 -21
- package/src/unreal-bridge.ts +460 -1550
- package/src/utils/command-validator.ts +75 -0
- package/src/utils/elicitation.ts +10 -7
- package/src/utils/error-handler.ts +14 -90
- package/src/utils/ini-reader.ts +86 -0
- package/src/utils/logger.ts +8 -3
- package/src/utils/normalize.ts +60 -0
- package/src/utils/response-factory.ts +39 -0
- package/src/utils/response-validator.ts +176 -56
- package/src/utils/result-helpers.ts +21 -19
- package/src/utils/safe-json.ts +14 -11
- package/src/utils/unreal-command-queue.ts +152 -0
- package/src/utils/validation.ts +4 -1
- package/src/wasm/index.ts +838 -0
- package/test-server.mjs +100 -0
- package/tests/run-unreal-tool-tests.mjs +242 -14
- package/tests/test-animation.mjs +44 -0
- package/tests/test-asset-advanced.mjs +82 -0
- package/tests/test-asset-errors.mjs +35 -0
- package/tests/test-audio.mjs +219 -0
- package/tests/test-automation-timeouts.mjs +98 -0
- package/tests/test-behavior-tree.mjs +261 -0
- package/tests/test-blueprint-events.mjs +35 -0
- package/tests/test-blueprint-graph.mjs +79 -0
- package/tests/test-blueprint.mjs +577 -0
- package/tests/test-client-mode.mjs +86 -0
- package/tests/test-console-command.mjs +56 -0
- package/tests/test-control-actor.mjs +425 -0
- package/tests/test-control-editor.mjs +80 -0
- package/tests/test-extra-tools.mjs +38 -0
- package/tests/test-graphql.mjs +322 -0
- package/tests/test-inspect.mjs +72 -0
- package/tests/test-landscape.mjs +60 -0
- package/tests/test-manage-asset.mjs +438 -0
- package/tests/test-manage-level.mjs +70 -0
- package/tests/test-materials.mjs +356 -0
- package/tests/test-niagara.mjs +185 -0
- package/tests/test-no-inline-python.mjs +122 -0
- package/tests/test-plugin-handshake.mjs +82 -0
- package/tests/test-render.mjs +33 -0
- package/tests/test-runner.mjs +933 -0
- package/tests/test-search-assets.mjs +66 -0
- package/tests/test-sequence.mjs +68 -0
- package/tests/test-system.mjs +57 -0
- package/tests/test-wasm.mjs +193 -0
- package/tests/test-world-partition.mjs +215 -0
- package/tsconfig.json +3 -3
- package/wasm/Cargo.lock +363 -0
- package/wasm/Cargo.toml +42 -0
- package/wasm/LICENSE +21 -0
- package/wasm/README.md +253 -0
- package/wasm/src/dependency_resolver.rs +377 -0
- package/wasm/src/lib.rs +153 -0
- package/wasm/src/property_parser.rs +271 -0
- package/wasm/src/transform_math.rs +396 -0
- package/wasm/tests/integration.rs +109 -0
- package/.github/workflows/smithery-build.yml +0 -29
- package/dist/tools/build_environment_advanced.d.ts +0 -65
- package/dist/tools/build_environment_advanced.js +0 -633
- package/dist/tools/rc.d.ts +0 -110
- package/dist/tools/rc.js +0 -437
- package/dist/tools/visual.d.ts +0 -40
- package/dist/tools/visual.js +0 -282
- package/dist/utils/http.d.ts +0 -6
- package/dist/utils/http.js +0 -151
- package/dist/utils/python-output.d.ts +0 -18
- package/dist/utils/python-output.js +0 -290
- package/dist/utils/python.d.ts +0 -2
- package/dist/utils/python.js +0 -4
- package/dist/utils/stdio-redirect.d.ts +0 -2
- package/dist/utils/stdio-redirect.js +0 -20
- package/docs/unreal-tool-test-cases.md +0 -574
- package/smithery.yaml +0 -29
- package/src/tools/build_environment_advanced.ts +0 -732
- package/src/tools/rc.ts +0 -515
- package/src/tools/visual.ts +0 -281
- package/src/utils/http.ts +0 -187
- package/src/utils/python-output.ts +0 -351
- package/src/utils/python.ts +0 -3
- package/src/utils/stdio-redirect.ts +0 -18
package/src/types/env.ts
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
export interface Env {
|
|
2
|
-
UE_HOST: string;
|
|
3
|
-
UE_RC_WS_PORT: number;
|
|
4
|
-
UE_RC_HTTP_PORT: number;
|
|
5
2
|
UE_PROJECT_PATH?: string;
|
|
6
3
|
UE_EDITOR_EXE?: string;
|
|
7
4
|
UE_SCREENSHOT_DIR?: string;
|
|
8
5
|
}
|
|
9
6
|
|
|
10
7
|
export function loadEnv(): Env {
|
|
11
|
-
const host = process.env.UE_HOST || '127.0.0.1';
|
|
12
|
-
// Note: UE5 default is HTTP on 30010, WebSocket on 30020
|
|
13
|
-
const wsPort = Number(process.env.UE_RC_WS_PORT || process.env.UE_REMOTE_CONTROL_WS_PORT || 30020);
|
|
14
|
-
const httpPort = Number(process.env.UE_RC_HTTP_PORT || process.env.UE_REMOTE_CONTROL_HTTP_PORT || 30010);
|
|
15
8
|
const projectPath = process.env.UE_PROJECT_PATH;
|
|
16
9
|
const editorExe = process.env.UE_EDITOR_EXE;
|
|
17
10
|
const screenshotDir = process.env.UE_SCREENSHOT_DIR;
|
|
18
11
|
|
|
19
12
|
return {
|
|
20
|
-
UE_HOST: host,
|
|
21
|
-
UE_RC_WS_PORT: wsPort,
|
|
22
|
-
UE_RC_HTTP_PORT: httpPort,
|
|
23
13
|
UE_PROJECT_PATH: projectPath,
|
|
24
14
|
UE_EDITOR_EXE: editorExe,
|
|
25
15
|
UE_SCREENSHOT_DIR: screenshotDir,
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { AutomationBridge } from '../automation/index.js';
|
|
2
|
+
|
|
3
|
+
export interface IBaseTool {
|
|
4
|
+
getAutomationBridge(): AutomationBridge;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface StandardActionResponse<T = any> {
|
|
8
|
+
success: boolean;
|
|
9
|
+
data?: T;
|
|
10
|
+
warnings?: string[];
|
|
11
|
+
error?: {
|
|
12
|
+
code: string;
|
|
13
|
+
message: string;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
} | null;
|
|
16
|
+
[key: string]: unknown; // Allow compatibility fields
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface IActorTools {
|
|
20
|
+
spawn(params: { classPath: string; location?: { x: number; y: number; z: number }; rotation?: { pitch: number; yaw: number; roll: number }; actorName?: string; meshPath?: string; timeoutMs?: number }): Promise<StandardActionResponse>;
|
|
21
|
+
delete(params: { actorName?: string; actorNames?: string[] }): Promise<StandardActionResponse>;
|
|
22
|
+
applyForce(params: { actorName: string; force: { x: number; y: number; z: number } }): Promise<StandardActionResponse>;
|
|
23
|
+
spawnBlueprint(params: { blueprintPath: string; actorName?: string; location?: { x: number; y: number; z: number }; rotation?: { pitch: number; yaw: number; roll: number } }): Promise<StandardActionResponse>;
|
|
24
|
+
setTransform(params: { actorName: string; location?: { x: number; y: number; z: number }; rotation?: { pitch: number; yaw: number; roll: number }; scale?: { x: number; y: number; z: number } }): Promise<StandardActionResponse>;
|
|
25
|
+
getTransform(actorName: string): Promise<StandardActionResponse>;
|
|
26
|
+
setVisibility(params: { actorName: string; visible: boolean }): Promise<StandardActionResponse>;
|
|
27
|
+
addComponent(params: { actorName: string; componentType: string; componentName?: string; properties?: Record<string, unknown> }): Promise<StandardActionResponse>;
|
|
28
|
+
setComponentProperties(params: { actorName: string; componentName: string; properties: Record<string, unknown> }): Promise<StandardActionResponse>;
|
|
29
|
+
getComponents(actorName: string): Promise<StandardActionResponse>;
|
|
30
|
+
duplicate(params: { actorName: string; newName?: string; offset?: { x: number; y: number; z: number } }): Promise<StandardActionResponse>;
|
|
31
|
+
addTag(params: { actorName: string; tag: string }): Promise<StandardActionResponse>;
|
|
32
|
+
removeTag(params: { actorName: string; tag: string }): Promise<StandardActionResponse>;
|
|
33
|
+
findByTag(params: { tag: string; matchType?: string }): Promise<StandardActionResponse>;
|
|
34
|
+
findByName(name: string): Promise<StandardActionResponse>;
|
|
35
|
+
detach(actorName: string): Promise<StandardActionResponse>;
|
|
36
|
+
attach(params: { childActor: string; parentActor: string }): Promise<StandardActionResponse>;
|
|
37
|
+
deleteByTag(tag: string): Promise<StandardActionResponse>;
|
|
38
|
+
setBlueprintVariables(params: { actorName: string; variables: Record<string, unknown> }): Promise<StandardActionResponse>;
|
|
39
|
+
createSnapshot(params: { actorName: string; snapshotName: string }): Promise<StandardActionResponse>;
|
|
40
|
+
restoreSnapshot(params: { actorName: string; snapshotName: string }): Promise<StandardActionResponse>;
|
|
41
|
+
listActors(params?: { filter?: string }): Promise<StandardActionResponse>;
|
|
42
|
+
getMetadata(actorName: string): Promise<StandardActionResponse>;
|
|
43
|
+
exportActor(params: { actorName: string; destinationPath?: string }): Promise<StandardActionResponse>;
|
|
44
|
+
getBoundingBox(actorName: string): Promise<StandardActionResponse>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface SourceControlState {
|
|
48
|
+
isCheckedOut: boolean;
|
|
49
|
+
isAdded: boolean;
|
|
50
|
+
isDeleted: boolean;
|
|
51
|
+
isModified: boolean;
|
|
52
|
+
whoCheckedOut?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface IAssetTools {
|
|
56
|
+
importAsset(params: { sourcePath: string; destinationPath: string; overwrite?: boolean; save?: boolean }): Promise<any>;
|
|
57
|
+
createFolder(path: string): Promise<any>;
|
|
58
|
+
duplicateAsset(params: { sourcePath: string; destinationPath: string; overwrite?: boolean }): Promise<any>;
|
|
59
|
+
renameAsset(params: { sourcePath: string; destinationPath: string }): Promise<any>;
|
|
60
|
+
moveAsset(params: { sourcePath: string; destinationPath: string }): Promise<any>;
|
|
61
|
+
deleteAssets(params: { paths: string[]; fixupRedirectors?: boolean; timeoutMs?: number }): Promise<any>;
|
|
62
|
+
searchAssets(params: { classNames?: string[]; packagePaths?: string[]; recursivePaths?: boolean; recursiveClasses?: boolean; limit?: number }): Promise<any>;
|
|
63
|
+
saveAsset(assetPath: string): Promise<any>;
|
|
64
|
+
findByTag(params: { tag: string; value?: string }): Promise<any>;
|
|
65
|
+
getDependencies(params: { assetPath: string; recursive?: boolean }): Promise<any>;
|
|
66
|
+
getMetadata(params: { assetPath: string }): Promise<any>;
|
|
67
|
+
getSourceControlState(params: { assetPath: string }): Promise<SourceControlState | any>;
|
|
68
|
+
analyzeGraph(params: { assetPath: string; maxDepth?: number }): Promise<any>;
|
|
69
|
+
createThumbnail(params: { assetPath: string; width?: number; height?: number }): Promise<any>;
|
|
70
|
+
setTags(params: { assetPath: string; tags: string[] }): Promise<any>;
|
|
71
|
+
generateReport(params: { directory: string; reportType?: string; outputPath?: string }): Promise<any>;
|
|
72
|
+
validate(params: { assetPath: string }): Promise<any>;
|
|
73
|
+
generateLODs(params: { assetPath: string; lodCount: number; reductionSettings?: Record<string, unknown> }): Promise<any>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface ISequenceTools {
|
|
77
|
+
create(params: { name: string; path?: string; timeoutMs?: number }): Promise<any>;
|
|
78
|
+
open(params: { path: string }): Promise<any>;
|
|
79
|
+
addCamera(params: { spawnable?: boolean; path?: string }): Promise<any>;
|
|
80
|
+
addActor(params: { actorName: string; createBinding?: boolean; path?: string }): Promise<any>;
|
|
81
|
+
addActors(params: { actorNames: string[]; path?: string }): Promise<any>;
|
|
82
|
+
removeActors(params: { actorNames: string[]; path?: string }): Promise<any>;
|
|
83
|
+
getBindings(params: { path?: string }): Promise<any>;
|
|
84
|
+
addSpawnableFromClass(params: { className: string; path?: string }): Promise<any>;
|
|
85
|
+
play(params: { path?: string; startTime?: number; loopMode?: 'once' | 'loop' | 'pingpong' }): Promise<any>;
|
|
86
|
+
pause(params?: { path?: string }): Promise<any>;
|
|
87
|
+
stop(params?: { path?: string }): Promise<any>;
|
|
88
|
+
setSequenceProperties(params: { path?: string; frameRate?: number; lengthInFrames?: number; playbackStart?: number; playbackEnd?: number }): Promise<any>;
|
|
89
|
+
getSequenceProperties(params: { path?: string }): Promise<any>;
|
|
90
|
+
setPlaybackSpeed(params: { speed: number; path?: string }): Promise<any>;
|
|
91
|
+
list(params: { path?: string }): Promise<any>;
|
|
92
|
+
duplicate(params: { path: string; destinationPath: string }): Promise<any>;
|
|
93
|
+
rename(params: { path: string; newName: string }): Promise<any>;
|
|
94
|
+
deleteSequence(params: { path: string }): Promise<any>;
|
|
95
|
+
getMetadata(params: { path: string }): Promise<any>;
|
|
96
|
+
listTracks(params: { path: string }): Promise<any>;
|
|
97
|
+
setWorkRange(params: { path?: string; start: number; end: number }): Promise<any>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface IAssetResources {
|
|
101
|
+
list(directory?: string, recursive?: boolean, limit?: number): Promise<any>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface IBlueprintTools {
|
|
105
|
+
createBlueprint(params: { name: string; blueprintType?: string; savePath?: string; parentClass?: string; properties?: Record<string, unknown>; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
106
|
+
modifyConstructionScript(params: { blueprintPath: string; operations: any[]; compile?: boolean; save?: boolean; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
107
|
+
addComponent(params: { blueprintName: string; componentType: string; componentName: string; attachTo?: string; transform?: Record<string, unknown>; properties?: Record<string, unknown>; compile?: boolean; save?: boolean; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
108
|
+
waitForBlueprint(blueprintRef: string | string[], timeoutMs?: number): Promise<any>;
|
|
109
|
+
getBlueprint(params: { blueprintName: string; timeoutMs?: number }): Promise<any>;
|
|
110
|
+
getBlueprintInfo(params: { blueprintPath: string; timeoutMs?: number }): Promise<any>;
|
|
111
|
+
probeSubobjectDataHandle(opts?: { componentClass?: string }): Promise<any>;
|
|
112
|
+
setBlueprintDefault(params: { blueprintName: string; propertyName: string; value: unknown }): Promise<any>;
|
|
113
|
+
addVariable(params: { blueprintName: string; variableName: string; variableType: string; defaultValue?: any; category?: string; isReplicated?: boolean; isPublic?: boolean; variablePinType?: Record<string, unknown>; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
114
|
+
removeVariable(params: { blueprintName: string; variableName: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
115
|
+
renameVariable(params: { blueprintName: string; oldName: string; newName: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
116
|
+
addEvent(params: { blueprintName: string; eventType: string; customEventName?: string; parameters?: Array<{ name: string; type: string }>; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
117
|
+
removeEvent(params: { blueprintName: string; eventName: string; customEventName?: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
118
|
+
addFunction(params: { blueprintName: string; functionName: string; inputs?: Array<{ name: string; type: string }>; outputs?: Array<{ name: string; type: string }>; isPublic?: boolean; category?: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
119
|
+
setVariableMetadata(params: { blueprintName: string; variableName: string; metadata: Record<string, unknown>; timeoutMs?: number }): Promise<any>;
|
|
120
|
+
renameVariable(params: { blueprintName: string; oldName: string; newName: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
121
|
+
addConstructionScript(params: { blueprintName: string; scriptName: string; timeoutMs?: number; waitForCompletion?: boolean; waitForCompletionTimeoutMs?: number }): Promise<any>;
|
|
122
|
+
compileBlueprint(params: { blueprintName: string; saveAfterCompile?: boolean }): Promise<any>;
|
|
123
|
+
getBlueprintSCS(params: { blueprintPath: string; timeoutMs?: number }): Promise<any>;
|
|
124
|
+
addSCSComponent(params: { blueprintPath: string; componentClass: string; componentName: string; parentComponent?: string; meshPath?: string; materialPath?: string; timeoutMs?: number }): Promise<any>;
|
|
125
|
+
removeSCSComponent(params: { blueprintPath: string; componentName: string; timeoutMs?: number }): Promise<any>;
|
|
126
|
+
reparentSCSComponent(params: { blueprintPath: string; componentName: string; newParent: string; timeoutMs?: number }): Promise<any>;
|
|
127
|
+
setSCSComponentTransform(params: { blueprintPath: string; componentName: string; location?: [number, number, number]; rotation?: [number, number, number]; scale?: [number, number, number]; timeoutMs?: number }): Promise<any>;
|
|
128
|
+
setSCSComponentProperty(params: { blueprintPath: string; componentName: string; propertyName: string; propertyValue: any; timeoutMs?: number }): Promise<any>;
|
|
129
|
+
addNode(params: { blueprintName: string; nodeType: string; graphName?: string; functionName?: string; variableName?: string; nodeName?: string; eventName?: string; memberClass?: string; posX?: number; posY?: number; timeoutMs?: number }): Promise<any>;
|
|
130
|
+
connectPins(params: { blueprintName: string; sourceNodeGuid: string; targetNodeGuid: string; sourcePinName?: string; targetPinName?: string; timeoutMs?: number }): Promise<any>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface ILevelTools {
|
|
134
|
+
listLevels(): Promise<any>;
|
|
135
|
+
getLevelSummary(levelPath?: string): Promise<any>;
|
|
136
|
+
registerLight(levelPath: string | undefined, info: { name: string; type: string; details?: Record<string, unknown> }): void;
|
|
137
|
+
exportLevel(params: { levelPath?: string; exportPath: string; note?: string; timeoutMs?: number }): Promise<any>;
|
|
138
|
+
importLevel(params: { packagePath: string; destinationPath?: string; streaming?: boolean; timeoutMs?: number }): Promise<any>;
|
|
139
|
+
saveLevelAs(params: { sourcePath?: string; targetPath: string }): Promise<any>;
|
|
140
|
+
deleteLevels(params: { levelPaths: string[] }): Promise<any>;
|
|
141
|
+
loadLevel(params: { levelPath: string; streaming?: boolean; position?: [number, number, number] }): Promise<any>;
|
|
142
|
+
saveLevel(params: { levelName?: string; savePath?: string }): Promise<any>;
|
|
143
|
+
createLevel(params: { levelName: string; template?: 'Empty' | 'Default' | 'VR' | 'TimeOfDay'; savePath?: string }): Promise<any>;
|
|
144
|
+
addSubLevel(params: { parentLevel?: string; subLevelPath: string; streamingMethod?: 'Blueprint' | 'AlwaysLoaded' }): Promise<any>;
|
|
145
|
+
streamLevel(params: { levelPath?: string; levelName?: string; shouldBeLoaded: boolean; shouldBeVisible?: boolean; position?: [number, number, number] }): Promise<any>;
|
|
146
|
+
setupWorldComposition(params: { enableComposition: boolean; tileSize?: number; distanceStreaming?: boolean; streamingDistance?: number }): Promise<any>;
|
|
147
|
+
editLevelBlueprint(params: { eventType: 'BeginPlay' | 'EndPlay' | 'Tick' | 'Custom'; customEventName?: string; nodes?: Array<{ nodeType: string; position: [number, number]; connections?: string[] }> }): Promise<any>;
|
|
148
|
+
createSubLevel(params: { name: string; type: 'Persistent' | 'Streaming' | 'Lighting' | 'Gameplay'; parent?: string }): Promise<any>;
|
|
149
|
+
setWorldSettings(params: { gravity?: number; worldScale?: number; gameMode?: string; defaultPawn?: string; killZ?: number }): Promise<any>;
|
|
150
|
+
setLevelBounds(params: { min: [number, number, number]; max: [number, number, number] }): Promise<any>;
|
|
151
|
+
buildNavMesh(params: { rebuildAll?: boolean; selectedOnly?: boolean }): Promise<any>;
|
|
152
|
+
setLevelVisibility(params: { levelName: string; visible: boolean }): Promise<any>;
|
|
153
|
+
setWorldOrigin(params: { location: [number, number, number] }): Promise<any>;
|
|
154
|
+
createStreamingVolume(params: { levelName: string; position: [number, number, number]; size: [number, number, number]; streamingDistance?: number }): Promise<any>;
|
|
155
|
+
setLevelLOD(params: { levelName: string; lodLevel: number; distance: number }): Promise<any>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export interface IEditorTools {
|
|
159
|
+
isInPIE(): Promise<boolean>;
|
|
160
|
+
ensureNotInPIE(): Promise<void>;
|
|
161
|
+
playInEditor(timeoutMs?: number): Promise<any>;
|
|
162
|
+
stopPlayInEditor(): Promise<any>;
|
|
163
|
+
pausePlayInEditor(): Promise<any>;
|
|
164
|
+
pauseInEditor(): Promise<any>;
|
|
165
|
+
buildLighting(): Promise<any>;
|
|
166
|
+
setViewportCamera(location?: { x: number; y: number; z: number } | [number, number, number] | null | undefined, rotation?: { pitch: number; yaw: number; roll: number } | [number, number, number] | null | undefined): Promise<any>;
|
|
167
|
+
setCameraSpeed(speed: number): Promise<any>;
|
|
168
|
+
setFOV(fov: number): Promise<any>;
|
|
169
|
+
takeScreenshot(filename?: string, resolution?: string): Promise<any>;
|
|
170
|
+
resumePlayInEditor(): Promise<any>;
|
|
171
|
+
stepPIEFrame(steps?: number): Promise<any>;
|
|
172
|
+
startRecording(options?: { filename?: string; frameRate?: number; durationSeconds?: number; metadata?: Record<string, unknown> }): Promise<any>;
|
|
173
|
+
stopRecording(): Promise<any>;
|
|
174
|
+
createCameraBookmark(name: string): Promise<any>;
|
|
175
|
+
jumpToCameraBookmark(name: string): Promise<any>;
|
|
176
|
+
setEditorPreferences(category: string | undefined, preferences: Record<string, unknown>): Promise<any>;
|
|
177
|
+
setViewportResolution(width: number, height: number): Promise<any>;
|
|
178
|
+
executeConsoleCommand(command: string): Promise<any>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface IEnvironmentTools {
|
|
182
|
+
setTimeOfDay(hour: unknown): Promise<any>;
|
|
183
|
+
setSunIntensity(intensity: unknown): Promise<any>;
|
|
184
|
+
setSkylightIntensity(intensity: unknown): Promise<any>;
|
|
185
|
+
exportSnapshot(params: { path?: unknown; filename?: unknown }): Promise<any>;
|
|
186
|
+
importSnapshot(params: { path?: unknown; filename?: unknown }): Promise<any>;
|
|
187
|
+
cleanup(params?: { names?: unknown }): Promise<any>;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface ILandscapeTools {
|
|
191
|
+
createLandscape(params: { name: string; location?: [number, number, number]; sizeX?: number; sizeY?: number; quadsPerSection?: number; sectionsPerComponent?: number; componentCount?: number; materialPath?: string; enableWorldPartition?: boolean; runtimeGrid?: string; isSpatiallyLoaded?: boolean; dataLayers?: string[] }): Promise<any>;
|
|
192
|
+
sculptLandscape(params: { landscapeName: string; tool: string; brushSize?: number; brushFalloff?: number; strength?: number; location?: [number, number, number]; radius?: number }): Promise<any>;
|
|
193
|
+
paintLandscape(params: { landscapeName: string; layerName: string; position: [number, number, number]; brushSize?: number; strength?: number; targetValue?: number; radius?: number; density?: number }): Promise<any>;
|
|
194
|
+
createProceduralTerrain(params: { name: string; location?: [number, number, number]; subdivisions?: number; heightFunction?: string; material?: string; settings?: Record<string, unknown> }): Promise<any>;
|
|
195
|
+
createLandscapeGrassType(params: { name: string; meshPath: string; density?: number; minScale?: number; maxScale?: number; path?: string; staticMesh?: string }): Promise<any>;
|
|
196
|
+
setLandscapeMaterial(params: { landscapeName: string; materialPath: string }): Promise<any>;
|
|
197
|
+
modifyHeightmap(params: { landscapeName: string; heightData: number[]; minX: number; minY: number; maxX: number; maxY: number; updateNormals?: boolean }): Promise<any>;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface IFoliageTools {
|
|
201
|
+
addFoliageType(params: { name: string; meshPath: string; density?: number; radius?: number; minScale?: number; maxScale?: number; alignToNormal?: boolean; randomYaw?: boolean; groundSlope?: number }): Promise<any>;
|
|
202
|
+
addFoliage(params: { foliageType: string; locations: Array<{ x: number; y: number; z: number }> }): Promise<any>;
|
|
203
|
+
paintFoliage(params: { foliageType: string; position: [number, number, number]; brushSize?: number; paintDensity?: number; eraseMode?: boolean }): Promise<any>;
|
|
204
|
+
createProceduralFoliage(params: { name: string; bounds?: { location: { x: number; y: number; z: number }; size: { x: number; y: number; z: number } }; foliageTypes?: Array<{ meshPath: string; density: number; minScale?: number; maxScale?: number; alignToNormal?: boolean; randomYaw?: boolean }>; volumeName?: string; position?: [number, number, number]; size?: [number, number, number]; seed?: number; tileSize?: number }): Promise<any>;
|
|
205
|
+
addFoliageInstances(params: { foliageType: string; transforms: Array<{ location: [number, number, number]; rotation?: [number, number, number]; scale?: [number, number, number] }> }): Promise<any>;
|
|
206
|
+
getFoliageInstances(params: { foliageType?: string }): Promise<any>;
|
|
207
|
+
removeFoliage(params: { foliageType?: string; removeAll?: boolean }): Promise<any>;
|
|
208
|
+
createInstancedMesh(params: { name: string; meshPath: string; instances: Array<{ position: [number, number, number]; rotation?: [number, number, number]; scale?: [number, number, number] }>; enableCulling?: boolean; cullDistance?: number }): Promise<any>;
|
|
209
|
+
setFoliageLOD(params: { foliageType: string; lodDistances?: number[]; screenSize?: number[] }): Promise<any>;
|
|
210
|
+
setFoliageCollision(params: { foliageType: string; collisionEnabled?: boolean; collisionProfile?: string; generateOverlapEvents?: boolean }): Promise<any>;
|
|
211
|
+
createGrassSystem(params: { name: string; grassTypes: Array<{ meshPath: string; density: number; minScale?: number; maxScale?: number }>; windStrength?: number; windSpeed?: number }): Promise<any>;
|
|
212
|
+
removeFoliageInstances(params: { foliageType: string; position: [number, number, number]; radius: number }): Promise<any>;
|
|
213
|
+
selectFoliageInstances(params: { foliageType: string; position?: [number, number, number]; radius?: number; selectAll?: boolean }): Promise<any>;
|
|
214
|
+
updateFoliageInstances(params: { foliageType: string; updateTransforms?: boolean; updateMesh?: boolean; newMeshPath?: string }): Promise<any>;
|
|
215
|
+
createFoliageSpawner(params: { name: string; spawnArea: 'Landscape' | 'StaticMesh' | 'BSP' | 'Foliage' | 'All'; excludeAreas?: Array<[number, number, number, number]> }): Promise<any>;
|
|
216
|
+
optimizeFoliage(params: { mergeInstances?: boolean; generateClusters?: boolean; clusterSize?: number; reduceDrawCalls?: boolean }): Promise<any>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export interface ITools {
|
|
220
|
+
actorTools: IActorTools;
|
|
221
|
+
assetTools: IAssetTools;
|
|
222
|
+
blueprintTools: IBlueprintTools;
|
|
223
|
+
editorTools: IEditorTools;
|
|
224
|
+
levelTools: ILevelTools;
|
|
225
|
+
sequenceTools: ISequenceTools;
|
|
226
|
+
assetResources: IAssetResources;
|
|
227
|
+
landscapeTools: ILandscapeTools;
|
|
228
|
+
foliageTools: IFoliageTools;
|
|
229
|
+
environmentTools: IEnvironmentTools;
|
|
230
|
+
|
|
231
|
+
// Added newly required tools to remove 'any' casting
|
|
232
|
+
materialTools: any;
|
|
233
|
+
niagaraTools: any;
|
|
234
|
+
animationTools: any;
|
|
235
|
+
physicsTools: any;
|
|
236
|
+
lightingTools: any;
|
|
237
|
+
debugTools: any;
|
|
238
|
+
performanceTools: any;
|
|
239
|
+
audioTools: any;
|
|
240
|
+
uiTools: any;
|
|
241
|
+
introspectionTools: any;
|
|
242
|
+
visualTools?: any; // Optional as it's being removed
|
|
243
|
+
engineTools: any;
|
|
244
|
+
systemTools: any;
|
|
245
|
+
behaviorTreeTools: any;
|
|
246
|
+
logTools: any;
|
|
247
|
+
|
|
248
|
+
automationBridge?: AutomationBridge;
|
|
249
|
+
[key: string]: any;
|
|
250
|
+
}
|
package/src/types/tool-types.ts
CHANGED
|
@@ -23,6 +23,7 @@ export interface ManageAssetResponse extends BaseToolResponse {
|
|
|
23
23
|
assets?: AssetInfo[];
|
|
24
24
|
paths?: string[];
|
|
25
25
|
materialPath?: string;
|
|
26
|
+
materialInstancePath?: string;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
// Actor Control Types
|
|
@@ -40,8 +41,21 @@ export interface Rotation3D {
|
|
|
40
41
|
|
|
41
42
|
export interface ControlActorResponse extends BaseToolResponse {
|
|
42
43
|
actor?: string;
|
|
43
|
-
|
|
44
|
+
actorName?: string;
|
|
45
|
+
actorPath?: string;
|
|
46
|
+
componentName?: string;
|
|
47
|
+
componentPath?: string;
|
|
48
|
+
componentClass?: string;
|
|
49
|
+
componentPaths?: Array<{ name: string; path: string; class?: string }>;
|
|
50
|
+
components?: Array<Record<string, unknown>>;
|
|
51
|
+
actors?: Array<Record<string, unknown>>;
|
|
52
|
+
deleted?: string | string[];
|
|
53
|
+
deletedCount?: number;
|
|
54
|
+
missing?: string[];
|
|
44
55
|
physicsEnabled?: boolean;
|
|
56
|
+
visible?: boolean;
|
|
57
|
+
tag?: string;
|
|
58
|
+
snapshotName?: string;
|
|
45
59
|
}
|
|
46
60
|
|
|
47
61
|
// Editor Control Types
|
|
@@ -67,6 +81,13 @@ export interface AnimationPhysicsResponse extends BaseToolResponse {
|
|
|
67
81
|
playing?: boolean;
|
|
68
82
|
playRate?: number;
|
|
69
83
|
ragdollActive?: boolean;
|
|
84
|
+
path?: string;
|
|
85
|
+
blendSpacePath?: string;
|
|
86
|
+
skeletonPath?: string;
|
|
87
|
+
controlRigPath?: string;
|
|
88
|
+
twoDimensional?: boolean;
|
|
89
|
+
warnings?: string[];
|
|
90
|
+
details?: unknown;
|
|
70
91
|
}
|
|
71
92
|
|
|
72
93
|
// Effects System Types
|
|
@@ -128,12 +149,12 @@ export interface ToolParameters {
|
|
|
128
149
|
directory: string;
|
|
129
150
|
recursive?: boolean;
|
|
130
151
|
};
|
|
131
|
-
|
|
152
|
+
|
|
132
153
|
ImportAssetParams: {
|
|
133
154
|
sourcePath: string;
|
|
134
155
|
destinationPath: string;
|
|
135
156
|
};
|
|
136
|
-
|
|
157
|
+
|
|
137
158
|
CreateMaterialParams: {
|
|
138
159
|
name: string;
|
|
139
160
|
path: string;
|
|
@@ -145,22 +166,87 @@ export interface ToolParameters {
|
|
|
145
166
|
location?: Vector3D;
|
|
146
167
|
rotation?: Rotation3D;
|
|
147
168
|
};
|
|
148
|
-
|
|
169
|
+
|
|
149
170
|
DeleteActorParams: {
|
|
150
171
|
actorName: string;
|
|
151
172
|
};
|
|
152
|
-
|
|
173
|
+
|
|
153
174
|
ApplyForceParams: {
|
|
154
175
|
actorName: string;
|
|
155
176
|
force: Vector3D;
|
|
156
177
|
};
|
|
157
178
|
|
|
179
|
+
SpawnBlueprintParams: {
|
|
180
|
+
blueprintPath: string;
|
|
181
|
+
actorName?: string;
|
|
182
|
+
location?: Vector3D;
|
|
183
|
+
rotation?: Rotation3D;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
SetTransformParams: {
|
|
187
|
+
actorName: string;
|
|
188
|
+
location?: Vector3D;
|
|
189
|
+
rotation?: Rotation3D;
|
|
190
|
+
scale?: Vector3D;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
SetVisibilityParams: {
|
|
194
|
+
actorName: string;
|
|
195
|
+
visible: boolean;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
ComponentParams: {
|
|
199
|
+
actorName: string;
|
|
200
|
+
componentType?: string;
|
|
201
|
+
componentName?: string;
|
|
202
|
+
properties?: Record<string, unknown>;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
DuplicateActorParams: {
|
|
206
|
+
actorName: string;
|
|
207
|
+
newName?: string;
|
|
208
|
+
offset?: Vector3D;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
AttachActorParams: {
|
|
212
|
+
childActor: string;
|
|
213
|
+
parentActor: string;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
DetachActorParams: {
|
|
217
|
+
actorName: string;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
TagActorParams: {
|
|
221
|
+
actorName: string;
|
|
222
|
+
tag: string;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
FindByTagParams: {
|
|
226
|
+
tag: string;
|
|
227
|
+
matchType?: string;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
FindByNameParams: {
|
|
231
|
+
name: string;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
BlueprintVariablesParams: {
|
|
235
|
+
actorName: string;
|
|
236
|
+
variables: Record<string, unknown>;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
SnapshotActorParams: {
|
|
240
|
+
actorName: string;
|
|
241
|
+
snapshotName: string;
|
|
242
|
+
};
|
|
243
|
+
|
|
158
244
|
// Editor Control
|
|
159
245
|
SetCameraParams: {
|
|
160
246
|
location?: Vector3D;
|
|
161
247
|
rotation?: Rotation3D;
|
|
162
248
|
};
|
|
163
|
-
|
|
249
|
+
|
|
164
250
|
SetViewModeParams: {
|
|
165
251
|
mode: string;
|
|
166
252
|
};
|
|
@@ -172,12 +258,56 @@ export interface ToolParameters {
|
|
|
172
258
|
}
|
|
173
259
|
|
|
174
260
|
// Consolidated tool action types
|
|
175
|
-
export type AssetAction = 'list' | 'import' | 'create_material';
|
|
176
|
-
export type ActorAction =
|
|
261
|
+
export type AssetAction = 'list' | 'import' | 'create_material' | 'create_material_instance';
|
|
262
|
+
export type ActorAction =
|
|
263
|
+
| 'spawn'
|
|
264
|
+
| 'spawn_blueprint'
|
|
265
|
+
| 'delete'
|
|
266
|
+
| 'delete_by_tag'
|
|
267
|
+
| 'duplicate'
|
|
268
|
+
| 'apply_force'
|
|
269
|
+
| 'set_transform'
|
|
270
|
+
| 'get_transform'
|
|
271
|
+
| 'set_visibility'
|
|
272
|
+
| 'add_component'
|
|
273
|
+
| 'set_component_properties'
|
|
274
|
+
| 'get_components'
|
|
275
|
+
| 'add_tag'
|
|
276
|
+
| 'find_by_tag'
|
|
277
|
+
| 'find_by_name'
|
|
278
|
+
| 'set_blueprint_variables'
|
|
279
|
+
| 'create_snapshot'
|
|
280
|
+
| 'attach'
|
|
281
|
+
| 'detach';
|
|
177
282
|
export type EditorAction = 'play' | 'stop' | 'set_camera' | 'set_view_mode';
|
|
178
283
|
export type LevelAction = 'load' | 'save' | 'stream' | 'create_light' | 'build_lighting';
|
|
179
|
-
export type AnimationAction =
|
|
180
|
-
|
|
284
|
+
export type AnimationAction =
|
|
285
|
+
| 'create_animation_bp'
|
|
286
|
+
| 'create_anim_blueprint'
|
|
287
|
+
| 'create_animation_blueprint'
|
|
288
|
+
| 'play_montage'
|
|
289
|
+
| 'play_anim_montage'
|
|
290
|
+
| 'setup_ragdoll'
|
|
291
|
+
| 'activate_ragdoll'
|
|
292
|
+
| 'configure_vehicle'
|
|
293
|
+
| 'create_blend_space'
|
|
294
|
+
| 'create_state_machine'
|
|
295
|
+
| 'setup_ik'
|
|
296
|
+
| 'create_procedural_anim'
|
|
297
|
+
| 'create_blend_tree'
|
|
298
|
+
| 'setup_retargeting'
|
|
299
|
+
| 'setup_physics_simulation'
|
|
300
|
+
| 'create_animation_asset'
|
|
301
|
+
| 'cleanup';
|
|
302
|
+
export type EffectAction =
|
|
303
|
+
| 'particle'
|
|
304
|
+
| 'niagara'
|
|
305
|
+
| 'debug_shape'
|
|
306
|
+
| 'spawn_niagara'
|
|
307
|
+
| 'set_niagara_parameter'
|
|
308
|
+
| 'clear_debug_shapes'
|
|
309
|
+
| 'create_dynamic_light'
|
|
310
|
+
| 'cleanup';
|
|
181
311
|
export type BlueprintAction = 'create' | 'add_component';
|
|
182
312
|
export type EnvironmentAction = 'create_landscape' | 'sculpt' | 'add_foliage' | 'paint_foliage';
|
|
183
313
|
export type SystemAction = 'profile' | 'show_fps' | 'set_quality' | 'play_sound' | 'create_widget' | 'show_widget' | 'screenshot' | 'engine_start' | 'engine_quit' | 'read_log';
|
|
@@ -193,6 +323,8 @@ export interface ConsolidatedToolParams {
|
|
|
193
323
|
destinationPath?: string;
|
|
194
324
|
name?: string;
|
|
195
325
|
path?: string;
|
|
326
|
+
parentMaterial?: string;
|
|
327
|
+
parameters?: Record<string, any>;
|
|
196
328
|
};
|
|
197
329
|
|
|
198
330
|
control_actor: {
|
|
@@ -201,7 +333,22 @@ export interface ConsolidatedToolParams {
|
|
|
201
333
|
classPath?: string;
|
|
202
334
|
location?: Vector3D;
|
|
203
335
|
rotation?: Rotation3D;
|
|
336
|
+
scale?: Vector3D;
|
|
204
337
|
force?: Vector3D;
|
|
338
|
+
blueprintPath?: string;
|
|
339
|
+
componentType?: string;
|
|
340
|
+
componentName?: string;
|
|
341
|
+
properties?: Record<string, unknown>;
|
|
342
|
+
visible?: boolean;
|
|
343
|
+
newName?: string;
|
|
344
|
+
offset?: Vector3D;
|
|
345
|
+
tag?: string;
|
|
346
|
+
matchType?: string;
|
|
347
|
+
variables?: Record<string, unknown>;
|
|
348
|
+
snapshotName?: string;
|
|
349
|
+
childActor?: string;
|
|
350
|
+
parentActor?: string;
|
|
351
|
+
actorNames?: string[];
|
|
205
352
|
};
|
|
206
353
|
|
|
207
354
|
control_editor: {
|
|
@@ -209,6 +356,18 @@ export interface ConsolidatedToolParams {
|
|
|
209
356
|
location?: Vector3D;
|
|
210
357
|
rotation?: Rotation3D;
|
|
211
358
|
viewMode?: string;
|
|
359
|
+
speed?: number;
|
|
360
|
+
filename?: string;
|
|
361
|
+
fov?: number;
|
|
362
|
+
width?: number;
|
|
363
|
+
height?: number;
|
|
364
|
+
command?: string;
|
|
365
|
+
steps?: number;
|
|
366
|
+
frameRate?: number;
|
|
367
|
+
durationSeconds?: number;
|
|
368
|
+
bookmarkName?: string;
|
|
369
|
+
category?: string;
|
|
370
|
+
preferences?: Record<string, unknown>;
|
|
212
371
|
};
|
|
213
372
|
|
|
214
373
|
manage_level: {
|
|
@@ -227,15 +386,63 @@ export interface ConsolidatedToolParams {
|
|
|
227
386
|
|
|
228
387
|
animation_physics: {
|
|
229
388
|
action: AnimationAction;
|
|
389
|
+
// Common
|
|
230
390
|
name?: string;
|
|
231
391
|
actorName?: string;
|
|
392
|
+
savePath?: string;
|
|
393
|
+
path?: string;
|
|
394
|
+
|
|
395
|
+
// Animation blueprint
|
|
232
396
|
skeletonPath?: string;
|
|
397
|
+
blueprintName?: string;
|
|
398
|
+
blueprintPath?: string;
|
|
399
|
+
|
|
400
|
+
// Playback
|
|
233
401
|
montagePath?: string;
|
|
234
402
|
animationPath?: string;
|
|
235
403
|
playRate?: number;
|
|
404
|
+
|
|
405
|
+
// Ragdoll/physics
|
|
236
406
|
physicsAssetName?: string;
|
|
237
407
|
blendWeight?: number;
|
|
238
|
-
|
|
408
|
+
|
|
409
|
+
meshPath?: string;
|
|
410
|
+
assignToMesh?: boolean;
|
|
411
|
+
previewSkeleton?: string;
|
|
412
|
+
generateConstraints?: boolean;
|
|
413
|
+
|
|
414
|
+
// Vehicle config
|
|
415
|
+
vehicleName?: string;
|
|
416
|
+
vehicleType?: 'Car' | 'Bike' | 'Tank' | 'Aircraft' | string;
|
|
417
|
+
wheels?: Array<{ name: string; radius: number; width: number; mass: number; isSteering?: boolean; isDriving?: boolean }>;
|
|
418
|
+
engine?: { maxRPM: number; torqueCurve: Array<[number, number]> };
|
|
419
|
+
transmission?: { gears: number[]; finalDriveRatio: number };
|
|
420
|
+
pluginDependencies?: string[];
|
|
421
|
+
|
|
422
|
+
// Blend space / tree
|
|
423
|
+
dimensions?: number | [number, number];
|
|
424
|
+
horizontalAxis?: { name?: string; minValue?: number; maxValue?: number };
|
|
425
|
+
verticalAxis?: { name?: string; minValue?: number; maxValue?: number };
|
|
426
|
+
samples?: any[];
|
|
427
|
+
|
|
428
|
+
// State machine
|
|
429
|
+
states?: any[];
|
|
430
|
+
transitions?: any[];
|
|
431
|
+
|
|
432
|
+
// IK / Retargeting / Procedural
|
|
433
|
+
chain?: any;
|
|
434
|
+
effector?: any;
|
|
435
|
+
// Retargeting
|
|
436
|
+
sourceSkeleton?: string;
|
|
437
|
+
targetSkeleton?: string;
|
|
438
|
+
assets?: string[];
|
|
439
|
+
retargetAssets?: string[];
|
|
440
|
+
suffix?: string;
|
|
441
|
+
overwrite?: boolean;
|
|
442
|
+
|
|
443
|
+
// Cleanup
|
|
444
|
+
artifacts?: string[];
|
|
445
|
+
assetType?: string;
|
|
239
446
|
};
|
|
240
447
|
|
|
241
448
|
create_effect: {
|
|
@@ -248,6 +455,20 @@ export interface ConsolidatedToolParams {
|
|
|
248
455
|
shape?: string;
|
|
249
456
|
size?: number;
|
|
250
457
|
color?: [number, number, number, number];
|
|
458
|
+
// Dynamic light support
|
|
459
|
+
lightName?: string;
|
|
460
|
+
lightType?: 'Point' | 'Spot' | 'Directional' | 'Rect' | string;
|
|
461
|
+
intensity?: number;
|
|
462
|
+
rotation?: Rotation3D;
|
|
463
|
+
pulse?: { enabled?: boolean; frequency?: number };
|
|
464
|
+
// Cleanup filter for actor cleanup
|
|
465
|
+
filter?: string;
|
|
466
|
+
// Niagara parameter helpers
|
|
467
|
+
systemName?: string;
|
|
468
|
+
parameterName?: string;
|
|
469
|
+
parameterType?: string;
|
|
470
|
+
value?: any;
|
|
471
|
+
isUserParameter?: boolean;
|
|
251
472
|
duration?: number;
|
|
252
473
|
};
|
|
253
474
|
|
|
@@ -258,6 +479,12 @@ export interface ConsolidatedToolParams {
|
|
|
258
479
|
componentType?: string;
|
|
259
480
|
componentName?: string;
|
|
260
481
|
savePath?: string;
|
|
482
|
+
// Optional: wait until the plugin's background completion event before returning
|
|
483
|
+
waitForCompletion?: boolean;
|
|
484
|
+
// Convenience: apply changes and force save, then wait for completion
|
|
485
|
+
applyAndSave?: boolean;
|
|
486
|
+
// Optional override for event wait timeout in milliseconds
|
|
487
|
+
waitForCompletionTimeoutMs?: number;
|
|
261
488
|
};
|
|
262
489
|
|
|
263
490
|
build_environment: {
|
|
@@ -288,15 +515,10 @@ export interface ConsolidatedToolParams {
|
|
|
288
515
|
widgetName?: string;
|
|
289
516
|
widgetType?: string;
|
|
290
517
|
visible?: boolean;
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
filter_level?: 'Error' | 'Warning' | 'Log' | 'Verbose' | 'VeryVerbose' | 'All';
|
|
296
|
-
lines?: number;
|
|
297
|
-
log_path?: string;
|
|
298
|
-
include_prefixes?: string[];
|
|
299
|
-
exclude_categories?: string[];
|
|
518
|
+
// Resolution / fullscreen helpers
|
|
519
|
+
width?: number;
|
|
520
|
+
height?: number;
|
|
521
|
+
windowed?: boolean;
|
|
300
522
|
};
|
|
301
523
|
|
|
302
524
|
console_command: {
|
|
@@ -326,7 +548,7 @@ export interface ToolResponseMap {
|
|
|
326
548
|
system_control: SystemControlResponse;
|
|
327
549
|
console_command: ConsoleCommandResponse;
|
|
328
550
|
verify_environment: VerifyEnvironmentResponse;
|
|
329
|
-
|
|
551
|
+
|
|
330
552
|
// Individual tools (subset for brevity)
|
|
331
553
|
list_assets: ManageAssetResponse;
|
|
332
554
|
import_asset: ManageAssetResponse;
|