agent-dag 3.1.0 → 3.2.0
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.
- package/README.md +16 -1
- package/dist/web/assets/{index-BYupRwZc.js → index-7UsJp5Ht.js} +22 -18
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/release-notes.json +6 -0
- package/src/server/hwmonitor.mjs +56 -0
- package/src/server/lhm-parse.mjs +91 -0
- package/src/server/system-metrics.mjs +15 -3
package/README.md
CHANGED
|
@@ -77,7 +77,7 @@ The machine panel shows a **Thermal** section only where the machine actually an
|
|
|
77
77
|
| | reads | needs |
|
|
78
78
|
| --- | --- | --- |
|
|
79
79
|
| Linux | `/sys/class/hwmon` | nothing |
|
|
80
|
-
| Windows | the `Thermal Zone Information` performance counter | nothing
|
|
80
|
+
| Windows | the `Thermal Zone Information` performance counter | nothing — where the machine has an ACPI thermal zone. Many do not; see below |
|
|
81
81
|
| macOS, Intel | `ioreg` for the GPU, `pmset -g therm` for throttling | nothing |
|
|
82
82
|
| macOS, Apple Silicon | `macmon`, which the deck fetches for you | nothing |
|
|
83
83
|
|
|
@@ -87,6 +87,21 @@ You do not have to install it. The deck downloads the published binary into `~/.
|
|
|
87
87
|
|
|
88
88
|
It is skipped entirely on a machine that already answers — an Intel Mac never downloads anything — and on one where you have `macmon` yourself, which is found on either Homebrew prefix. `AGENTS_DECK_NO_DOWNLOAD=1` turns it off on its own; `AGENTS_DECK_NO_INSTALL=1` turns it off along with everything else.
|
|
89
89
|
|
|
90
|
+
#### Windows, and why it is often blank
|
|
91
|
+
|
|
92
|
+
Windows is the platform where this most often shows nothing, and that is not a defect in the deck. Measured on a physical Windows 11 laptop — a Lenovo IdeaPad L340, Intel i5-9300H, English install, checked both as an ordinary user and as an administrator:
|
|
93
|
+
|
|
94
|
+
- its firmware declares **zero** ACPI thermal zones, so the performance counter above is registered but has no instances
|
|
95
|
+
- `MSAcpi_ThermalZoneTemperature` answers `Not supported` **even to an administrator**
|
|
96
|
+
- `Win32_TemperatureProbe` exists but every field reads `32768`, which is WMI's value for "unknown"
|
|
97
|
+
- the sensors are real and actively managed — Intel Dynamic Tuning is running — but it publishes them in `root\WMI EsifDeviceInformation`, which is **Access denied** without administrator
|
|
98
|
+
|
|
99
|
+
That is a class of machine, not a fault: modern Intel laptops moved thermal management into Intel DTT and stopped declaring the ACPI zones that Windows exposes to ordinary programs. There is no standard user-mode Windows API for CPU temperature — which is why HWiNFO, Core Temp and LibreHardwareMonitor all install a kernel driver, and why this deck does not.
|
|
100
|
+
|
|
101
|
+
Where the counter does have instances — many desktop boards, servers, and older laptops — it is read without any privileges at all. Its path is currently English-only; see [#747](https://github.com/BarganConstantin/ccdeck/issues/747).
|
|
102
|
+
|
|
103
|
+
One thing does work on the machines above, and it costs you nothing to have: if **LibreHardwareMonitor** happens to be running with its web server on, the deck reads its numbers over plain HTTP on localhost, which needs no privileges. That is a read, not a request — the deck does not install it, will not ask you to, and shows no section if it is not there. It is mentioned only so nobody is surprised to see degrees appear on a machine that had none.
|
|
104
|
+
|
|
90
105
|
## How it works
|
|
91
106
|
|
|
92
107
|
Two capture paths feed one SSE stream, which feeds one canvas.
|