Skip to content

feat(v1.2.0): add health:check scoring, system:logs viewer, and self:update command - #10

Merged
Dev-lib4n merged 2 commits into
homologationfrom
feat/v1.2.0-health-logs-update
Nov 18, 2026
Merged

Dev-lib4n merged 2 commits into
homologationfrom
feat/v1.2.0-health-logs-update

Conversation

@Dev-lib4n

Copy link
Copy Markdown
Owner

Summary

Implements the v1.2.0 feature set introducing an automated machine health check with scoring, a cross-platform OS critical error log viewer, and self-updating capabilities via GitHub Releases.

Key Changes

  • health:check (HealthCheckService & HealthCheckCommand): Aggregates CPU/RAM, disk capacity, network/DNS health, print spooler state, and recent critical logs into an objective 0–100 health score with actionable recommendations and optional report export.
  • system:logs (WindowsDriver & LinuxDriver): Retrieves critical/error OS events from the last 24 hours via Get-WinEvent (Windows) and journalctl / syslog fallback (Linux).
  • self:update (SelfUpdateService & SelfUpdateCommand): Checks Dev-lib4n/it-toolbox-cli latest GitHub Release, selects the matching platform binary (it-toolbox-windows-x64.exe, it-toolbox-linux-x64, or .phar), and performs safe atomic replacement.
  • TUI & i18n: Integrated all new features into the numeric TUI menu with full en and pt_BR translation parity and Pest unit test coverage.

How to Test

  1. Run php it-toolbox health:check and php it-toolbox system:logs.
  2. Run php it-toolbox self:update --check to verify release version detection.
  3. Run ./vendor/bin/pest to confirm all unit and feature tests pass.

Dev-lib4n and others added 2 commits November 18, 2026 13:38
release: v1.1.0 — numeric TUI navigation and automatic screen clearing
@Dev-lib4n
Dev-lib4n merged commit 4a240f2 into homologation Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant