Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Smart Scope & Idle Detection

Latest

Choose a tag to compare

@supratikpm supratikpm released this 30 Dec 17:49

What's New

ServerSlayer just got smarter. This release introduces intelligent filtering to ensure you only kill what you intend to.

🎯 Scope Awareness

The agent now strictly validates the Scope of a process.

  • Project: Only kills servers running from your current workspace.
  • System/External: Ignores servers running in other folders or system paths.
  • Default behavior now protects you from accidental cross-project kills.

💤 Idle Detection

Safely clean up your ports without disrupting active work.

  • New Flag: --idle-only
  • ServerSlayer checks for active TCP connections.
  • If a server has a client connected (e.g., an open browser tab), it is skipped.
  • If a server is truly idle (0 connections), it is slain.

🛠️ Utilities

  • Windows Support: Added psutil integration for robust tracking of process paths and connections on Windows.
  • Better Reporting: detect command now displays the "Scope" and "Active Connections" for each server.

Installation

Download the server-slayer-v1.1.0.zip asset below and unzip it into your .agent folder.
server-slayer-v1.1.0.zip