Repository navigation
v5.5
Changes
• Typed JSON output: cctl status --json now emits proper JSON types (booleans, integers, nulls, arrays) instead of human-readable strings — covers system, fans, keyboard, privacy, battery, fan curve, and GPU MUX sections.
• Atomic state files: Fan curve and keyboard effect workers now write state via temp file + fsync + rename, preventing readers from ever seeing half-written files.
• Keyboard effect refactor: Extracted kbe_effective_effect() so kbe_is_running() is a pure liveness check; pulse-profile resolution is now explicit at each call site.
• GPU monitor live cadence: gpumon --live skips nvidia-smi dmon PCIe throughput sampling (~1 s blocking) to keep the live JSON cadence fast; reports pcie_rx_mbs / pcie_tx_mbs as null in live mode.
• Fan curve startup: Extracted fc_wait_for_worker() with waitpid-based early-exit detection for clearer error messages.
• Shared monitor code: Unified TUI, color, UTF-8, framebuffer, and buffer helpers between cpumon and gpumon; shared fan telemetry and NVIDIA PCI discovery.
• Hardening: Dropped editor privileges before launching the fan-curve editor, tightened RAPL writes, interactive driver installs, live monitor polling, and short-write handling.
• Cleanup: Removed dead read_fan_telemetry_ex wrapper and stale "run cctl fancurve start" hint after curve edits.