unreal-engine-mcp-server 0.5.3 → 0.5.4
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/CHANGELOG.md +66 -0
- package/dist/automation/bridge.d.ts +1 -0
- package/dist/automation/bridge.js +62 -4
- package/dist/automation/types.d.ts +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +2 -0
- package/dist/graphql/server.d.ts +0 -1
- package/dist/graphql/server.js +15 -16
- package/dist/index.js +1 -1
- package/dist/services/metrics-server.js +3 -3
- package/dist/tools/handlers/pipeline-handlers.js +61 -7
- package/package.json +1 -1
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpAutomationBridge_EnvironmentHandlers.cpp +25 -1
- package/plugins/McpAutomationBridge/Source/McpAutomationBridge/Private/McpBridgeWebSocket.cpp +16 -1
- package/server.json +2 -2
- package/src/automation/bridge.ts +80 -10
- package/src/automation/types.ts +1 -0
- package/src/constants.ts +5 -0
- package/src/graphql/server.ts +23 -23
- package/src/index.ts +1 -1
- package/src/services/metrics-server.ts +4 -4
- package/src/tools/handlers/pipeline-handlers.ts +78 -12
- package/src/utils/validation.test.ts +3 -3
- package/tests/test-console-command.mjs +1 -1
- package/tests/test-runner.mjs +63 -3
- package/tests/run-unreal-tool-tests.mjs +0 -948
- package/tests/test-asset-errors.mjs +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { UnrealAutomationClient } from '../src/unreal-client.js';
|
|
2
|
-
import { runUnrealTests, assert } from './run-unreal-tool-tests.mjs';
|
|
3
|
-
|
|
4
|
-
runUnrealTests('asset_error_messages', [
|
|
5
|
-
{
|
|
6
|
-
name: 'Import Non-Existent File',
|
|
7
|
-
action: async (client) => {
|
|
8
|
-
try {
|
|
9
|
-
await client.sendRequest('import', {
|
|
10
|
-
sourcePath: 'C:/Non/Existent/File.fbx',
|
|
11
|
-
destinationPath: '/Game/Tests/ImportFail'
|
|
12
|
-
});
|
|
13
|
-
throw new Error('Should have failed');
|
|
14
|
-
} catch (error) {
|
|
15
|
-
assert(error.code === 'SOURCE_NOT_FOUND', `Unexpected error code: ${error.code}`);
|
|
16
|
-
assert(error.message.includes('Source file not found'), 'Unexpected error message');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
name: 'Rename Non-Existent Asset',
|
|
22
|
-
action: async (client) => {
|
|
23
|
-
try {
|
|
24
|
-
await client.sendRequest('rename', {
|
|
25
|
-
sourcePath: '/Game/NonExistentAsset',
|
|
26
|
-
destinationPath: '/Game/NewLocation'
|
|
27
|
-
});
|
|
28
|
-
throw new Error('Should have failed');
|
|
29
|
-
} catch (error) {
|
|
30
|
-
assert(error.code === 'ASSET_NOT_FOUND', `Unexpected error code: ${error.code}`);
|
|
31
|
-
assert(error.message.includes('Source asset not found'), 'Unexpected error message');
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
]);
|