flockbay 0.10.49 → 0.10.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -60
- package/bin/flockbay-mcp.mjs +62 -62
- package/bin/flockbay.mjs +95 -95
- package/dist/{index-r3VTdgFI.cjs → index-IntvnrmZ.cjs} +71 -14
- package/dist/{index-D8AeVbvv.mjs → index-wkeSi0iC.mjs} +70 -13
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/lib.cjs +1 -1
- package/dist/lib.mjs +1 -1
- package/dist/{migratePlugin-CEvGPul8.mjs → migratePlugin-C71hAoc5.mjs} +12 -2
- package/dist/{migratePlugin-wFK-k3Wk.cjs → migratePlugin-D1XjjWFq.cjs} +12 -2
- package/dist/{runCodex-DuyuYqoB.cjs → runCodex-B7i_ICoQ.cjs} +34 -23
- package/dist/{runCodex-ZfUyhHF6.mjs → runCodex-BSx-hCu6.mjs} +34 -23
- package/dist/{runGemini-DBU1mMdp.mjs → runGemini-Dwyh7_WI.mjs} +2 -2
- package/dist/{runGemini-D7j5Y5TF.cjs → runGemini-gBKR3rdL.cjs} +2 -2
- package/dist/{types-DNr0xwSy.cjs → types-5z8UADAi.cjs} +224 -15
- package/dist/{types-BRJuZQj_.mjs → types-Bgzap7qR.mjs} +224 -16
- package/package.json +131 -131
- package/scripts/claude_local_launcher.cjs +72 -72
- package/scripts/claude_remote_launcher.cjs +15 -15
- package/scripts/claude_version_utils.cjs +445 -445
- package/scripts/ripgrep_launcher.cjs +32 -32
- package/scripts/run-with-root-env.mjs +37 -32
- package/scripts/session_hook_forwarder.cjs +49 -49
- package/scripts/test-codex-abort-history.mjs +77 -77
- package/scripts/unpack-tools.cjs +244 -244
- package/tools/licenses/difftastic-LICENSE +21 -21
- package/tools/licenses/ripgrep-LICENSE +3 -3
- package/tools/unreal-mcp/UPSTREAM_VERSION.md +8 -8
- package/tools/unreal-mcp/upstream/Docs/README.md +8 -8
- package/tools/unreal-mcp/upstream/Docs/Tools/README.md +6 -6
- package/tools/unreal-mcp/upstream/Docs/Tools/actor_tools.md +183 -183
- package/tools/unreal-mcp/upstream/Docs/Tools/blueprint_tools.md +268 -268
- package/tools/unreal-mcp/upstream/Docs/Tools/editor_tools.md +104 -104
- package/tools/unreal-mcp/upstream/Docs/Tools/node_tools.md +274 -274
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Config/FilterPlugin.ini +8 -8
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/FlockbayMCP.uplugin +36 -36
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/FlockbayMCP.Build.cs +82 -82
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPBlueprintCommands.cpp +1364 -1364
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPBlueprintNodeCommands.cpp +1310 -1310
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPCommandSchema.cpp +756 -756
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPCommonUtils.cpp +1177 -1177
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPEditorCommands.cpp +2618 -2618
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPProjectCommands.cpp +71 -71
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/Commands/UnrealMCPUMGCommands.cpp +543 -543
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/MCPServerRunnable.cpp +372 -372
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/UnrealMCPBridge.cpp +457 -457
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Private/UnrealMCPModule.cpp +21 -21
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPBlueprintCommands.h +35 -35
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPBlueprintNodeCommands.h +30 -30
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPCommandSchema.h +41 -41
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPCommonUtils.h +59 -59
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPEditorCommands.h +61 -61
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPProjectCommands.h +20 -20
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/Commands/UnrealMCPUMGCommands.h +82 -82
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/MCPServerRunnable.h +33 -33
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/UnrealMCPBridge.h +64 -64
- package/tools/unreal-mcp/upstream/MCPGameProject/Plugins/FlockbayMCP/Source/FlockbayMCP/Public/UnrealMCPModule.h +22 -22
- package/tools/unreal-mcp/upstream/Python/README.md +39 -39
- package/tools/unreal-mcp/upstream/Python/pyproject.toml +22 -22
- package/tools/unreal-mcp/upstream/Python/scripts/actors/test_cube.py +202 -202
- package/tools/unreal-mcp/upstream/Python/scripts/blueprints/test_create_and_spawn_blueprints_with_different_components.py +496 -496
- package/tools/unreal-mcp/upstream/Python/scripts/blueprints/test_create_and_spawn_cube_blueprint.py +193 -193
- package/tools/unreal-mcp/upstream/Python/scripts/node/test_component_reference.py +266 -266
- package/tools/unreal-mcp/upstream/Python/scripts/node/test_create_bird_blueprint_with_input_and_camera.py +617 -617
- package/tools/unreal-mcp/upstream/Python/scripts/node/test_input_mapping.py +365 -365
- package/tools/unreal-mcp/upstream/Python/scripts/node/test_physics_variables.py +389 -389
- package/tools/unreal-mcp/upstream/Python/tools/blueprint_tools.py +419 -419
- package/tools/unreal-mcp/upstream/Python/tools/editor_tools.py +369 -369
- package/tools/unreal-mcp/upstream/Python/tools/node_tools.py +429 -429
- package/tools/unreal-mcp/upstream/Python/tools/project_tools.py +63 -63
- package/tools/unreal-mcp/upstream/Python/tools/umg_tools.py +332 -332
- package/tools/unreal-mcp/upstream/Python/unreal_mcp_server.py +398 -398
- package/tools/unreal-mcp/upstream/Python/uv.lock +521 -521
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
|
|
3
|
-
// Disable autoupdater (never works really)
|
|
4
|
-
process.env.DISABLE_AUTOUPDATER = '1';
|
|
5
|
-
|
|
6
|
-
// Helper to write JSON messages to fd 3
|
|
7
|
-
function writeMessage(message) {
|
|
8
|
-
try {
|
|
9
|
-
fs.writeSync(3, JSON.stringify(message) + '\n');
|
|
10
|
-
} catch (err) {
|
|
11
|
-
// fd 3 not available, ignore
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Intercept fetch to track thinking state
|
|
16
|
-
const originalFetch = global.fetch;
|
|
17
|
-
let fetchCounter = 0;
|
|
18
|
-
|
|
19
|
-
global.fetch = function(...args) {
|
|
20
|
-
const id = ++fetchCounter;
|
|
21
|
-
const url = typeof args[0] === 'string' ? args[0] : args[0]?.url || '';
|
|
22
|
-
const method = args[1]?.method || 'GET';
|
|
23
|
-
|
|
24
|
-
// Parse URL for privacy
|
|
25
|
-
let hostname = '';
|
|
26
|
-
let path = '';
|
|
27
|
-
try {
|
|
28
|
-
const urlObj = new URL(url, 'http://localhost');
|
|
29
|
-
hostname = urlObj.hostname;
|
|
30
|
-
path = urlObj.pathname;
|
|
31
|
-
} catch (e) {
|
|
32
|
-
// If URL parsing fails, use defaults
|
|
33
|
-
hostname = 'unknown';
|
|
34
|
-
path = url;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Send fetch start event
|
|
38
|
-
writeMessage({
|
|
39
|
-
type: 'fetch-start',
|
|
40
|
-
id,
|
|
41
|
-
hostname,
|
|
42
|
-
path,
|
|
43
|
-
method,
|
|
44
|
-
timestamp: Date.now()
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// Execute the original fetch immediately
|
|
48
|
-
const fetchPromise = originalFetch(...args);
|
|
49
|
-
|
|
50
|
-
// Attach handlers to send fetch end event
|
|
51
|
-
const sendEnd = () => {
|
|
52
|
-
writeMessage({
|
|
53
|
-
type: 'fetch-end',
|
|
54
|
-
id,
|
|
55
|
-
timestamp: Date.now()
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// Send end event on both success and failure
|
|
60
|
-
fetchPromise.then(sendEnd, sendEnd);
|
|
61
|
-
|
|
62
|
-
// Return the original promise unchanged
|
|
63
|
-
return fetchPromise;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
// Preserve fetch properties
|
|
67
|
-
Object.defineProperty(global.fetch, 'name', { value: 'fetch' });
|
|
68
|
-
Object.defineProperty(global.fetch, 'length', { value: originalFetch.length });
|
|
69
|
-
|
|
70
|
-
// Import global Claude Code CLI
|
|
71
|
-
const { getClaudeCliPath, runClaudeCli } = require('./claude_version_utils.cjs');
|
|
72
|
-
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
|
|
3
|
+
// Disable autoupdater (never works really)
|
|
4
|
+
process.env.DISABLE_AUTOUPDATER = '1';
|
|
5
|
+
|
|
6
|
+
// Helper to write JSON messages to fd 3
|
|
7
|
+
function writeMessage(message) {
|
|
8
|
+
try {
|
|
9
|
+
fs.writeSync(3, JSON.stringify(message) + '\n');
|
|
10
|
+
} catch (err) {
|
|
11
|
+
// fd 3 not available, ignore
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Intercept fetch to track thinking state
|
|
16
|
+
const originalFetch = global.fetch;
|
|
17
|
+
let fetchCounter = 0;
|
|
18
|
+
|
|
19
|
+
global.fetch = function(...args) {
|
|
20
|
+
const id = ++fetchCounter;
|
|
21
|
+
const url = typeof args[0] === 'string' ? args[0] : args[0]?.url || '';
|
|
22
|
+
const method = args[1]?.method || 'GET';
|
|
23
|
+
|
|
24
|
+
// Parse URL for privacy
|
|
25
|
+
let hostname = '';
|
|
26
|
+
let path = '';
|
|
27
|
+
try {
|
|
28
|
+
const urlObj = new URL(url, 'http://localhost');
|
|
29
|
+
hostname = urlObj.hostname;
|
|
30
|
+
path = urlObj.pathname;
|
|
31
|
+
} catch (e) {
|
|
32
|
+
// If URL parsing fails, use defaults
|
|
33
|
+
hostname = 'unknown';
|
|
34
|
+
path = url;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Send fetch start event
|
|
38
|
+
writeMessage({
|
|
39
|
+
type: 'fetch-start',
|
|
40
|
+
id,
|
|
41
|
+
hostname,
|
|
42
|
+
path,
|
|
43
|
+
method,
|
|
44
|
+
timestamp: Date.now()
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
// Execute the original fetch immediately
|
|
48
|
+
const fetchPromise = originalFetch(...args);
|
|
49
|
+
|
|
50
|
+
// Attach handlers to send fetch end event
|
|
51
|
+
const sendEnd = () => {
|
|
52
|
+
writeMessage({
|
|
53
|
+
type: 'fetch-end',
|
|
54
|
+
id,
|
|
55
|
+
timestamp: Date.now()
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// Send end event on both success and failure
|
|
60
|
+
fetchPromise.then(sendEnd, sendEnd);
|
|
61
|
+
|
|
62
|
+
// Return the original promise unchanged
|
|
63
|
+
return fetchPromise;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// Preserve fetch properties
|
|
67
|
+
Object.defineProperty(global.fetch, 'name', { value: 'fetch' });
|
|
68
|
+
Object.defineProperty(global.fetch, 'length', { value: originalFetch.length });
|
|
69
|
+
|
|
70
|
+
// Import global Claude Code CLI
|
|
71
|
+
const { getClaudeCliPath, runClaudeCli } = require('./claude_version_utils.cjs');
|
|
72
|
+
|
|
73
73
|
runClaudeCli(getClaudeCliPath());
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
// Intercept setTimeout for the Claude Code SDK
|
|
2
|
-
const originalSetTimeout = global.setTimeout;
|
|
3
|
-
|
|
4
|
-
global.setTimeout = function(callback, delay, ...args) {
|
|
5
|
-
// Just wrap and call the original setTimeout
|
|
6
|
-
return originalSetTimeout(callback, delay, ...args);
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
// Preserve setTimeout properties
|
|
10
|
-
Object.defineProperty(global.setTimeout, 'name', { value: 'setTimeout' });
|
|
11
|
-
Object.defineProperty(global.setTimeout, 'length', { value: originalSetTimeout.length });
|
|
12
|
-
|
|
13
|
-
// Import global Claude Code CLI
|
|
14
|
-
const { getClaudeCliPath, runClaudeCli } = require('./claude_version_utils.cjs');
|
|
15
|
-
|
|
1
|
+
// Intercept setTimeout for the Claude Code SDK
|
|
2
|
+
const originalSetTimeout = global.setTimeout;
|
|
3
|
+
|
|
4
|
+
global.setTimeout = function(callback, delay, ...args) {
|
|
5
|
+
// Just wrap and call the original setTimeout
|
|
6
|
+
return originalSetTimeout(callback, delay, ...args);
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// Preserve setTimeout properties
|
|
10
|
+
Object.defineProperty(global.setTimeout, 'name', { value: 'setTimeout' });
|
|
11
|
+
Object.defineProperty(global.setTimeout, 'length', { value: originalSetTimeout.length });
|
|
12
|
+
|
|
13
|
+
// Import global Claude Code CLI
|
|
14
|
+
const { getClaudeCliPath, runClaudeCli } = require('./claude_version_utils.cjs');
|
|
15
|
+
|
|
16
16
|
runClaudeCli(getClaudeCliPath());
|