@adiholick/nvstudio-mcp 2.1.1 → 2.1.2
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/package.json
CHANGED
|
@@ -196,9 +196,9 @@ local function updateUIStatus()
|
|
|
196
196
|
elseif mcpAgentActive then
|
|
197
197
|
ui:setStatus("connected")
|
|
198
198
|
else
|
|
199
|
-
-- Server reachable tapi tidak ada AI agent
|
|
200
|
-
--
|
|
201
|
-
ui:setStatus("
|
|
199
|
+
-- Server reachable tapi tidak ada AI agent
|
|
200
|
+
-- Tampilkan sebagai connected (karena server sse bridge aktif)
|
|
201
|
+
ui:setStatus("server_connected")
|
|
202
202
|
end
|
|
203
203
|
end
|
|
204
204
|
|
|
@@ -325,7 +325,8 @@ function startConnectionLoop()
|
|
|
325
325
|
ui:addLog("[System] ✅ IDE Agent (Antigravity) terhubung ke MCP.", Color3.fromRGB(100, 255, 100))
|
|
326
326
|
else
|
|
327
327
|
ui:setStatus("server_connected")
|
|
328
|
-
|
|
328
|
+
-- No need to explicitly add log for IDE Agent wait every time it connects,
|
|
329
|
+
-- bridge connected log is enough.
|
|
329
330
|
end
|
|
330
331
|
end
|
|
331
332
|
elseif serverReachable and not mcpAgentActive then
|
|
@@ -576,9 +576,9 @@ local function updateUIStatus()
|
|
|
576
576
|
elseif mcpAgentActive then
|
|
577
577
|
ui:setStatus("connected")
|
|
578
578
|
else
|
|
579
|
-
-- Server reachable tapi tidak ada AI agent
|
|
580
|
-
--
|
|
581
|
-
ui:setStatus("
|
|
579
|
+
-- Server reachable tapi tidak ada AI agent
|
|
580
|
+
-- Tampilkan sebagai connected (karena server sse bridge aktif)
|
|
581
|
+
ui:setStatus("server_connected")
|
|
582
582
|
end
|
|
583
583
|
end
|
|
584
584
|
|
|
@@ -705,7 +705,8 @@ function startConnectionLoop()
|
|
|
705
705
|
ui:addLog("[System] ✅ IDE Agent (Antigravity) terhubung ke MCP.", Color3.fromRGB(100, 255, 100))
|
|
706
706
|
else
|
|
707
707
|
ui:setStatus("server_connected")
|
|
708
|
-
|
|
708
|
+
-- No need to explicitly add log for IDE Agent wait every time it connects,
|
|
709
|
+
-- bridge connected log is enough.
|
|
709
710
|
end
|
|
710
711
|
end
|
|
711
712
|
elseif serverReachable and not mcpAgentActive then
|
|
@@ -1114,7 +1115,7 @@ function UIManager.init(pluginInstance, studioId)
|
|
|
1114
1115
|
|
|
1115
1116
|
-- Version
|
|
1116
1117
|
local versionLabel = Instance.new("TextLabel")
|
|
1117
|
-
versionLabel.Text = "
|
|
1118
|
+
versionLabel.Text = "v2.1.2"
|
|
1118
1119
|
versionLabel.Font = Enum.Font.Gotham
|
|
1119
1120
|
versionLabel.TextSize = 11
|
|
1120
1121
|
versionLabel.TextColor3 = Color3.fromRGB(120, 120, 130)
|
|
@@ -1435,12 +1436,12 @@ function UIManager:setStatus(stateStr)
|
|
|
1435
1436
|
self.termStroke.Color = Color3.fromRGB(100, 70, 30)
|
|
1436
1437
|
|
|
1437
1438
|
elseif stateStr == "server_connected" then
|
|
1438
|
-
-- Server reachable,
|
|
1439
|
+
-- Server reachable, tampilkan Connected meskipun agent (IDE) belum konek via stdio
|
|
1439
1440
|
self.connectBtn.Text = " Disconnect"
|
|
1440
1441
|
self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
|
|
1441
|
-
self.statusLabel.Text = "●
|
|
1442
|
-
self.statusLabel.TextColor3 = Color3.fromRGB(
|
|
1443
|
-
self.termStroke.Color = Color3.fromRGB(
|
|
1442
|
+
self.statusLabel.Text = "● Connected"
|
|
1443
|
+
self.statusLabel.TextColor3 = Color3.fromRGB(100, 230, 120)
|
|
1444
|
+
self.termStroke.Color = Color3.fromRGB(50, 120, 60)
|
|
1444
1445
|
|
|
1445
1446
|
elseif stateStr == "connected" then
|
|
1446
1447
|
self.connectBtn.Text = " Disconnect"
|
|
@@ -95,7 +95,7 @@ function UIManager.init(pluginInstance, studioId)
|
|
|
95
95
|
|
|
96
96
|
-- Version
|
|
97
97
|
local versionLabel = Instance.new("TextLabel")
|
|
98
|
-
versionLabel.Text = "
|
|
98
|
+
versionLabel.Text = "v2.1.2"
|
|
99
99
|
versionLabel.Font = Enum.Font.Gotham
|
|
100
100
|
versionLabel.TextSize = 11
|
|
101
101
|
versionLabel.TextColor3 = Color3.fromRGB(120, 120, 130)
|
|
@@ -416,12 +416,12 @@ function UIManager:setStatus(stateStr)
|
|
|
416
416
|
self.termStroke.Color = Color3.fromRGB(100, 70, 30)
|
|
417
417
|
|
|
418
418
|
elseif stateStr == "server_connected" then
|
|
419
|
-
-- Server reachable,
|
|
419
|
+
-- Server reachable, tampilkan Connected meskipun agent (IDE) belum konek via stdio
|
|
420
420
|
self.connectBtn.Text = " Disconnect"
|
|
421
421
|
self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
|
|
422
|
-
self.statusLabel.Text = "●
|
|
423
|
-
self.statusLabel.TextColor3 = Color3.fromRGB(
|
|
424
|
-
self.termStroke.Color = Color3.fromRGB(
|
|
422
|
+
self.statusLabel.Text = "● Connected"
|
|
423
|
+
self.statusLabel.TextColor3 = Color3.fromRGB(100, 230, 120)
|
|
424
|
+
self.termStroke.Color = Color3.fromRGB(50, 120, 60)
|
|
425
425
|
|
|
426
426
|
elseif stateStr == "connected" then
|
|
427
427
|
self.connectBtn.Text = " Disconnect"
|