@adiholick/nvstudio-mcp 2.1.0 → 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.
@@ -397,7 +397,7 @@ function UIManager:addLog(text, color)
397
397
  end
398
398
 
399
399
  -- ═══════════════════════════════════════════
400
- -- 3 State Setter (Disconnected, Waiting, Connected)
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(255, 200, 80)
415
- self.termStroke.Color = Color3.fromRGB(130, 110, 50)
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"