@adiholick/nvstudio-mcp 2.1.0 → 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.
@@ -95,7 +95,7 @@ function UIManager.init(pluginInstance, studioId)
95
95
 
96
96
  -- Version
97
97
  local versionLabel = Instance.new("TextLabel")
98
- versionLabel.Text = "v1.2.0 · Hybrid Agent"
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)
@@ -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)
411
412
  self.connectBtn.Text = " Disconnect"
412
413
  self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
413
- self.statusLabel.Text = "● Waiting for AI..."
414
- self.statusLabel.TextColor3 = Color3.fromRGB(255, 200, 80)
415
- self.termStroke.Color = Color3.fromRGB(130, 110, 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, tampilkan Connected meskipun agent (IDE) belum konek via stdio
420
+ self.connectBtn.Text = " Disconnect"
421
+ self._updateBtnBaseColor(Color3.fromRGB(180, 50, 50))
422
+ self.statusLabel.Text = "● Connected"
423
+ self.statusLabel.TextColor3 = Color3.fromRGB(100, 230, 120)
424
+ self.termStroke.Color = Color3.fromRGB(50, 120, 60)
416
425
 
417
426
  elseif stateStr == "connected" then
418
427
  self.connectBtn.Text = " Disconnect"