energy-state-analyzer 0.15.1 → 0.15.3

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/.vscodeignore CHANGED
@@ -29,3 +29,14 @@ RELEASING.md
29
29
  Justfile
30
30
  AGENT_DECISION_COMMENTS.md
31
31
  .npmignore
32
+
33
+ # Local analysis artifacts and contributor tooling are not package contents.
34
+ .probe/**
35
+ fsharp-analyzer-reports/**
36
+ .energy-state/**
37
+ .agents/**
38
+ .codex/**
39
+ AGENTS.md
40
+ Directory.Build.props
41
+ Directory.Build.targets
42
+ .markdownlint*
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- last_commit_released: 7097fc14feb3918d098e28f259d57006433b1df1
2
+ last_commit_released: 98c73c11364c3abe5c7e52ffb5c2288ed7f4815d
3
3
  name: energy-state-analyzer
4
4
  updaters:
5
5
  - command: npm version {version} --no-git-tag-version --allow-same-version
@@ -11,6 +11,23 @@ All notable changes to the "energy-state-analyzer" extension are generated by
11
11
  [EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
12
12
  [Conventional Commits](https://www.conventionalcommits.org/).
13
13
 
14
+ ## 0.15.3 - 2026-09-11
15
+
16
+ ### 🐞 Bug Fixes
17
+
18
+ * Stabilize editor analysis and clean release packages (#123) ([98c73c1](https://github.com/cardamomcode/energy-state-analyzer/commit/98c73c11364c3abe5c7e52ffb5c2288ed7f4815d))
19
+
20
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/abe97d47a5e9000e1d8aa82bd51c9c47cbdceaf6..98c73c11364c3abe5c7e52ffb5c2288ed7f4815d)</small></strong>
21
+
22
+ ## 0.15.2 - 2026-09-08
23
+
24
+ ### 🐞 Bug Fixes
25
+
26
+ * Clarify error boundary scope analysis (#116) ([efc3d7c](https://github.com/cardamomcode/energy-state-analyzer/commit/efc3d7c7ffdce40274e957081352bd3f55b3af9f))
27
+ * Use project config for analyzer thresholds (#119) ([abe97d4](https://github.com/cardamomcode/energy-state-analyzer/commit/abe97d47a5e9000e1d8aa82bd51c9c47cbdceaf6))
28
+
29
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/7097fc14feb3918d098e28f259d57006433b1df1..abe97d47a5e9000e1d8aa82bd51c9c47cbdceaf6)</small></strong>
30
+
14
31
  ## 0.15.1 - 2026-09-07
15
32
 
16
33
  ### 🐞 Bug Fixes
package/README.md CHANGED
@@ -67,7 +67,7 @@ for the Extension Development Host.
67
67
 
68
68
  ## Extension Settings
69
69
 
70
- Settings split into two concerns: **which detectors run and how they look** live in VS Code (editor-only toggles and colors), while **how strict each detector is** belongs in a project `.esaconfig.json` shared with the CLI/CI. An explicitly configured VS Code value can override a detail setting for the current workspace.
70
+ Settings split into two concerns: **which detectors run and how they look** live in VS Code (editor-only toggles and colors), while **how strict each detector is** belongs in a project `.esaconfig.json` shared with the CLI/CI.
71
71
 
72
72
  ### Enable/disable detectors and pick colors (VS Code settings)
73
73
 
@@ -91,14 +91,15 @@ Every detector has an `enabled` toggle, plus the magic-number/string switches an
91
91
 
92
92
  ### Thresholds and allowlists (`.esaconfig.json`)
93
93
 
94
- Set thresholds, ratios, and magic-number/string allowlists in an `.esaconfig.json` file to share them between the editor and CLI/CI — see [docs/configuration.md](docs/configuration.md) for the schema, per-key defaults, [guidance on choosing thresholds](docs/configuration.md#choosing-thresholds), and how the file layers over VS Code settings (`defaults < .esaconfig.json < host override`). The keys (all optional; an absent key keeps its default) include:
94
+ Set thresholds, ratios, and magic-number/string allowlists in an `.esaconfig.json` file to share them between the editor and CLI/CI — see [docs/configuration.md](docs/configuration.md) for the schema, per-key defaults, and [guidance on choosing thresholds](docs/configuration.md#choosing-thresholds). The keys (all optional; an absent key keeps its default) include:
95
95
 
96
96
  - `nesting.mediumThreshold` / `highThreshold` (`3` / `5`)
97
97
  - `cognitiveComplexity.mediumThreshold` / `highThreshold` (`15` / `25`)
98
98
  - `coherence.largeFunctionLines` (`20`), `maxLargeFunctions` (`5`), `singleDomainNameShare` (`0.7`)
99
99
  - `matchOpportunity.minBranches` (`3`)
100
100
  - `parameterCount.mediumThreshold` / `highThreshold` (`5` / `8`)
101
- - `errorShadowing.threshold` / `highThreshold` / `minNamedNodes` (`0.5` / `0.7` / `8`)
101
+ - `errorShadowing.protectedScope.*` (`threshold` / `highThreshold` / `minItems`: `0.5` / `0.7` / `8`)
102
+ - `errorShadowing.recovery.*` (`threshold` / `highThreshold` / `minItems`: `0.5` / `0.7` / `5`)
102
103
  - `magicNumber.allowlist` (`[0, 1, -1, 2]`)
103
104
  - `magicString.minDuplicates` (`2`), `allowlist` (`["", "utf-8", "__main__"]`)
104
105