feat(signals): discover installed decoders and option help (#2487)

* feat(signals): discover installed decoders and selected option help

* fix(signals): bound retained discovery data and preserve resource failures

* fix(signals): complete CLI help and portable decoder patterns

* test(signals): verify case-insensitive decoder help queries

* fix(signals): retain discovery operation across cleanup retries
This commit is contained in:
Olorin
2026-10-13 15:58:19 +09:00
committed by GitHub
parent 9c34c091b3
commit 4276aaf18b
18 changed files with 945 additions and 173 deletions
+6
View File
@@ -30,6 +30,9 @@ it.each([
silentLogger,
{},
{
inspectDecoders: async () => {
throw new Error("Unexpected discovery call");
},
decode: async () => {
called = true;
throw new Error("Must not decode");
@@ -84,6 +87,9 @@ it.each([false, true])(
silentLogger,
{},
{
inspectDecoders: async () => {
throw new Error("Unexpected discovery call");
},
decode: async () => err(original),
close: async () => {
await Promise.resolve();