Repository navigation
feat(system): add critical services manager, battery health, startup inspector, USB inventory, PATH audit, and process killer - #13
Merged
Conversation
…mentPath for cross-OS test compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements Part 2/4 of the v2.0.0 Enterprise Suite, introducing six deep system, hardware, and service management commands.
Key Changes
system:services: Lists and restarts critical support services (Spooler,wuauserv,AnyDesk,TeamVieweron Windows;cups,ssh,docker,nginxon Linux).system:battery: Inspects laptop battery wear level (designvsfull chargedcapacity), charge cycles, and power status.system:startup: Audits boot startup applications and enabled background units (Win32_StartupCommand/Registry vssystemd/autostart).system:usb: Lists connected USB peripherals, vendor/product IDs, and driver status (Get-PnpDevice/lsusb).system:env: Audits environment variables and validatesPATHdirectories for broken or duplicate entries.system:kill: Interactive numeric selection or targeted termination of hung/high-resource processes with confirmation.en/pt_BRparity and Pest test coverage.How to Test
php it-toolbox system:services,system:battery,system:env, andsystem:usb../vendor/bin/pestto verify all tests pass.