@adiholick/nvstudio-mcp 2.1.7 → 2.1.8
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/index.js
CHANGED
|
@@ -28,7 +28,7 @@ const isDaemon = process.argv.includes('--daemon') || process.argv.includes('-d'
|
|
|
28
28
|
// 2. Inisialisasi server MCP
|
|
29
29
|
const server = new index_js_1.Server({
|
|
30
30
|
name: "nvstudio-mcp",
|
|
31
|
-
version: "2.1.
|
|
31
|
+
version: "2.1.8",
|
|
32
32
|
}, {
|
|
33
33
|
capabilities: {
|
|
34
34
|
tools: {},
|
package/dist/roblox-bridge.js
CHANGED
|
@@ -77,7 +77,7 @@ function broadcastStatus() {
|
|
|
77
77
|
const statusEvent = {
|
|
78
78
|
mcpConnected,
|
|
79
79
|
studioCount: Math.max(ssePeers.size, studioEventQueues.size),
|
|
80
|
-
serverVersion: '2.1.
|
|
80
|
+
serverVersion: '2.1.8',
|
|
81
81
|
};
|
|
82
82
|
broadcastEvent('status', statusEvent);
|
|
83
83
|
// Juga enqueue untuk Studio yang belum polling saat ini
|
|
@@ -210,7 +210,7 @@ function startBridgeServer(port = 3055) {
|
|
|
210
210
|
studioEventQueues.set(studioId, []); // kosongkan antrian
|
|
211
211
|
// Selalu sertakan status terkini
|
|
212
212
|
const events = [
|
|
213
|
-
{ kind: 'status', mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.
|
|
213
|
+
{ kind: 'status', mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.8' },
|
|
214
214
|
];
|
|
215
215
|
// Tambahkan events tertunda (misalnya task requests)
|
|
216
216
|
for (const ev of queue) {
|
|
@@ -259,7 +259,7 @@ function startBridgeServer(port = 3055) {
|
|
|
259
259
|
const silenceTimer = setTimeout(() => cleanup(), 60000);
|
|
260
260
|
const peer = { studioId, res, connectedAt: Date.now(), heartbeatTimer, silenceTimer };
|
|
261
261
|
ssePeers.set(studioId, peer);
|
|
262
|
-
sendEvent(peer, 'status', { mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.
|
|
262
|
+
sendEvent(peer, 'status', { mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.8' });
|
|
263
263
|
function cleanup() {
|
|
264
264
|
clearInterval(heartbeatTimer);
|
|
265
265
|
clearTimeout(silenceTimer);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
-- ══════════════════════════════════════════════════════════════════════
|
|
2
|
-
-- NVStudio MCP Plugin v2.1.
|
|
2
|
+
-- NVStudio MCP Plugin v2.1.8
|
|
3
3
|
-- Arsitektur: Polling Stream / Local HTTP Bridge (Port 3055)
|
|
4
4
|
-- Plugin auto-connect saat dimuat, polling /api/ping lalu /api/stream
|
|
5
5
|
-- untuk mendapatkan events (status, request) dari server Node.js.
|
|
@@ -274,7 +274,7 @@ function startConnectionLoop()
|
|
|
274
274
|
reconnectDelay = RECONNECT_DELAY_INITIAL
|
|
275
275
|
|
|
276
276
|
if ui then
|
|
277
|
-
ui:addLog("[System] NVStudio MCP v2.1.
|
|
277
|
+
ui:addLog("[System] NVStudio MCP v2.1.8 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
|
|
278
278
|
end
|
|
279
279
|
|
|
280
280
|
local consecutiveErrors = 0
|
|
@@ -379,7 +379,7 @@ end
|
|
|
379
379
|
<BinaryString name="Tags"></BinaryString>
|
|
380
380
|
<token name="RunContext">0</token>
|
|
381
381
|
<ProtectedString name="Source"><![CDATA[-- ══════════════════════════════════════════════════════════════════════
|
|
382
|
-
-- NVStudio MCP Plugin v2.1.
|
|
382
|
+
-- NVStudio MCP Plugin v2.1.8
|
|
383
383
|
-- Arsitektur: Polling Stream / Local HTTP Bridge (Port 3055)
|
|
384
384
|
-- Plugin auto-connect saat dimuat, polling /api/ping lalu /api/stream
|
|
385
385
|
-- untuk mendapatkan events (status, request) dari server Node.js.
|
|
@@ -654,7 +654,7 @@ function startConnectionLoop()
|
|
|
654
654
|
reconnectDelay = RECONNECT_DELAY_INITIAL
|
|
655
655
|
|
|
656
656
|
if ui then
|
|
657
|
-
ui:addLog("[System] NVStudio MCP v2.1.
|
|
657
|
+
ui:addLog("[System] NVStudio MCP v2.1.8 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
|
|
658
658
|
end
|
|
659
659
|
|
|
660
660
|
local consecutiveErrors = 0
|
|
@@ -1081,7 +1081,7 @@ function UIManager.init(pluginInstance, studioId)
|
|
|
1081
1081
|
|
|
1082
1082
|
-- Version
|
|
1083
1083
|
local versionLabel = Instance.new("TextLabel")
|
|
1084
|
-
versionLabel.Text = "v2.1.
|
|
1084
|
+
versionLabel.Text = "v2.1.8"
|
|
1085
1085
|
versionLabel.Font = Enum.Font.Gotham
|
|
1086
1086
|
versionLabel.TextSize = 11
|
|
1087
1087
|
versionLabel.TextColor3 = Color3.fromRGB(120, 120, 130)
|
|
@@ -95,7 +95,7 @@ function UIManager.init(pluginInstance, studioId)
|
|
|
95
95
|
|
|
96
96
|
-- Version
|
|
97
97
|
local versionLabel = Instance.new("TextLabel")
|
|
98
|
-
versionLabel.Text = "v2.1.
|
|
98
|
+
versionLabel.Text = "v2.1.8"
|
|
99
99
|
versionLabel.Font = Enum.Font.Gotham
|
|
100
100
|
versionLabel.TextSize = 11
|
|
101
101
|
versionLabel.TextColor3 = Color3.fromRGB(120, 120, 130)
|