v0.4.0
Added
- Standalone addon CLI:
resmon <addon_name> [-i|-h|-s|-d]inspects,
samples, or live-demos any fetcher or module on its own, without a
config file; modes are cumulative, an optionalfetch./mod.prefix
disambiguates a name shared by both kinds. - Every fetcher/module now carries
info/optsmetadata (plusranges
for fetchers,samplefake-data templates for modules), validated by a
shared, tightened contract check. src/fake_fetcher.lua: seeded noise generator driving-s/-dfake
data from each module'ssampletemplate; history-graph modules get
their rolling window pre-filled before a static-srender.NONEsentinel for afetcher = {...}slot that should stay
intentionally empty.--list(enumerate every installed fetcher/module),--include <path>
(additive dev/test directory, takes priority on a name collision),
-o/--options <{lua-table}>(CLI-side config override),-r/--refresh
extended to also pace a module's fake-data tick.- Global path flags (
--config-dir/-c/--config-file/--fetchers-dir/
--modules-dir) now recognized anywhere on the command line. config/fetcher_addon_sample.lua,config/module_addon_sample.lua,
config/ADDON-AUTHORING.md: ready-to-copy addon skeletons and a
walkthrough, installed by bothmake install-configand the release
tarball'sinstall.sh.dist/install.sh: detects an existing install and its version;
automatically migrates a 0.3.0 config/addons to the new naming, or
backs up and resetsconfig.luafor anything older/unrecognized;
--upgradeskips the confirmation prompt.
Fixed
prefill_module_historyno longer re-polls a real (-f-attached)
fetcher during its synthetic history replay — was hanging on
pipe-based fetchers and corrupting delta-based ones.-don a module now actually respects its refresh rate, gated per
cache slot instead of ticking unconditionally.-d/-son a fetcher now render nested-table values and
embedded-JSON string fields legibly instead of skipping/dumping them
raw.-spane width now correctly reaches half the terminal width instead
of being capped too low.-shistory prefill now respects an-o-overriddeninterval
instead of always using the addon's static default.
Changed
- Custom module filenames and config
mod = "..."values dropped the
redundantmod_prefix (mods/clock_graph.lua,mod = "clock_graph");
fetcher naming is unchanged. - Standalone-CLI and
--help/--listoutput reformatted: a single
banner/trailing-blank-line per invocation, terminal-width-aware
word-wrapped tables, right-aligned-i/--infometadata,
[VALID]/[FAULT]dependency markers. - README overhauled throughout (new Standalone addon CLI section + demo
GIF, Built-in Monitors table, Contributing points at the
addon-authoring samples).