@adiholick/nvstudio-mcp 2.0.4 → 2.1.1
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 +53 -9
- package/dist/roblox-bridge.js +272 -83
- package/package.json +1 -1
- package/studio-plugin/Main.server.lua +349 -301
- package/studio-plugin/nvstudio_mcp.rbxmx +357 -300
- package/studio-plugin/ui_manager.lua +12 -3
|
@@ -397,7 +397,7 @@ function UIManager:addLog(text, color)
|
|
|
397
397
|
end
|
|
398
398
|
|
|
399
399
|
-- ═══════════════════════════════════════════
|
|
400
|
-
--
|
|
400
|
+
-- 4 State Setter (Disconnected, Waiting, Server Connected, Connected)
|
|
401
401
|
-- ═══════════════════════════════════════════
|
|
402
402
|
function UIManager:setStatus(stateStr)
|
|
403
403
|
if stateStr == "disconnected" then
|
|
@@ -408,11 +408,20 @@ function UIManager:setStatus(stateStr)
|
|
|
408
408
|
self.termStroke.Color = Color3.fromRGB(40, 40, 48)
|
|
409
409
|
|
|
410
410
|
elseif stateStr == "waiting" then
|
|
411
|
+
-- Server tidak dapat dijangkau (bridge belum jalan)
|
|
412
|
+
self.connectBtn.Text = " Disconnect"
|
|
413
|
+
self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
|
|
414
|
+
self.statusLabel.Text = "● Waiting for Server..."
|
|
415
|
+
self.statusLabel.TextColor3 = Color3.fromRGB(255, 140, 60)
|
|
416
|
+
self.termStroke.Color = Color3.fromRGB(100, 70, 30)
|
|
417
|
+
|
|
418
|
+
elseif stateStr == "server_connected" then
|
|
419
|
+
-- Server reachable, tapi IDE Agent (Antigravity) belum konek
|
|
411
420
|
self.connectBtn.Text = " Disconnect"
|
|
412
421
|
self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
|
|
413
422
|
self.statusLabel.Text = "● Waiting for AI..."
|
|
414
|
-
self.statusLabel.TextColor3 = Color3.fromRGB(
|
|
415
|
-
self.termStroke.Color = Color3.fromRGB(
|
|
423
|
+
self.statusLabel.TextColor3 = Color3.fromRGB(80, 180, 255)
|
|
424
|
+
self.termStroke.Color = Color3.fromRGB(40, 80, 130)
|
|
416
425
|
|
|
417
426
|
elseif stateStr == "connected" then
|
|
418
427
|
self.connectBtn.Text = " Disconnect"
|