@adiholick/nvstudio-mcp 2.1.3 → 2.1.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/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.3",
31
+ version: "2.1.4",
32
32
  }, {
33
33
  capabilities: {
34
34
  tools: {},
@@ -77,7 +77,7 @@ function broadcastStatus() {
77
77
  const statusEvent = {
78
78
  mcpConnected,
79
79
  studioCount: ssePeers.size,
80
- serverVersion: '2.1.3',
80
+ serverVersion: '2.1.4',
81
81
  };
82
82
  broadcastEvent('status', statusEvent);
83
83
  // Juga enqueue untuk Studio yang belum polling saat ini
@@ -199,13 +199,10 @@ function startBridgeServer(port = 3055) {
199
199
  dashboardOpened = true;
200
200
  const url = `http://localhost:${port}`;
201
201
  const startCmd = process.platform === 'win32' ? `start "" "${url}"` : process.platform === 'darwin' ? `open "${url}"` : `xdg-open "${url}"`;
202
- const isDaemon = process.argv.includes('--daemon') || process.argv.includes('-d');
203
- if (!isDaemon) {
204
- (0, child_process_1.exec)(startCmd, (error) => {
205
- if (error)
206
- console.error(`[Bridge] Gagal membuka browser:`, error);
207
- });
208
- }
202
+ (0, child_process_1.exec)(startCmd, (error) => {
203
+ if (error)
204
+ console.error(`[Bridge] Gagal membuka browser:`, error);
205
+ });
209
206
  }
210
207
  }
211
208
  // Kumpulkan semua events yang belum dikirim ke studio ini
@@ -213,7 +210,7 @@ function startBridgeServer(port = 3055) {
213
210
  studioEventQueues.set(studioId, []); // kosongkan antrian
214
211
  // Selalu sertakan status terkini
215
212
  const events = [
216
- { kind: 'status', mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.3' },
213
+ { kind: 'status', mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.4' },
217
214
  ];
218
215
  // Tambahkan events tertunda (misalnya task requests)
219
216
  for (const ev of queue) {
@@ -262,7 +259,7 @@ function startBridgeServer(port = 3055) {
262
259
  const silenceTimer = setTimeout(() => cleanup(), 60000);
263
260
  const peer = { studioId, res, connectedAt: Date.now(), heartbeatTimer, silenceTimer };
264
261
  ssePeers.set(studioId, peer);
265
- sendEvent(peer, 'status', { mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.3' });
262
+ sendEvent(peer, 'status', { mcpConnected, studioCount: studioEventQueues.size, serverVersion: '2.1.4' });
266
263
  function cleanup() {
267
264
  clearInterval(heartbeatTimer);
268
265
  clearTimeout(silenceTimer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adiholick/nvstudio-mcp",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Local Bridge Server MCP for Roblox Studio",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,5 +1,5 @@
1
1
  -- ══════════════════════════════════════════════════════════════════════
2
- -- NVStudio MCP Plugin v2.1.3
2
+ -- NVStudio MCP Plugin v2.1.4
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.
@@ -271,7 +271,7 @@ function startConnectionLoop()
271
271
  reconnectDelay = RECONNECT_DELAY_INITIAL
272
272
 
273
273
  if ui then
274
- ui:addLog("[System] NVStudio MCP v2.1.3 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
274
+ ui:addLog("[System] NVStudio MCP v2.1.4 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
275
275
  end
276
276
 
277
277
  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.3
382
+ -- NVStudio MCP Plugin v2.1.4
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.
@@ -651,7 +651,7 @@ function startConnectionLoop()
651
651
  reconnectDelay = RECONNECT_DELAY_INITIAL
652
652
 
653
653
  if ui then
654
- ui:addLog("[System] NVStudio MCP v2.1.3 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
654
+ ui:addLog("[System] NVStudio MCP v2.1.4 — Menghubungkan ke server...", Color3.fromRGB(200, 200, 200))
655
655
  end
656
656
 
657
657
  local consecutiveErrors = 0
@@ -1078,7 +1078,7 @@ function UIManager.init(pluginInstance, studioId)
1078
1078
 
1079
1079
  -- Version
1080
1080
  local versionLabel = Instance.new("TextLabel")
1081
- versionLabel.Text = "v2.1.3"
1081
+ versionLabel.Text = "v2.1.4"
1082
1082
  versionLabel.Font = Enum.Font.Gotham
1083
1083
  versionLabel.TextSize = 11
1084
1084
  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.3"
98
+ versionLabel.Text = "v2.1.4"
99
99
  versionLabel.Font = Enum.Font.Gotham
100
100
  versionLabel.TextSize = 11
101
101
  versionLabel.TextColor3 = Color3.fromRGB(120, 120, 130)