energy-state-analyzer 0.10.0 → 0.11.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/AGENTS.md CHANGED
@@ -36,7 +36,7 @@ webpack watch pipeline.
36
36
 
37
37
  ## Architecture
38
38
 
39
- Keep every F# file at or below 12 functions and 10 import sources. `src/EnergyState.fsproj` has
39
+ Code-quality parameters such as function and import counts are enforced by the analyzer, not by hand-written limits here — the analyzer is authoritative on them, so AGENTS.md does not set those numbers. If the analyzer flags a file, fix it (or challenge the analyzer if you believe its verdict is wrong); otherwise treat its output as final. `src/EnergyState.fsproj` has
40
40
  `EnableDefaultCompileItems=false` behavior, so add every new `.fs` file explicitly in dependency
41
41
  order.
42
42
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- last_commit_released: 7879447ccd900a3aef6e14b44c1e48969e907e62
2
+ last_commit_released: 7951a86146ecb0068b5d308f8a7b80134b819a4f
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.11.0 - 2026-09-03
15
+
16
+ ### 🚀 Features
17
+
18
+ * Make Core.Config the single source of truth for thresholds and options (#74) ([42dcd1d](https://github.com/cardamomcode/energy-state-analyzer/commit/42dcd1d32c29a19fc16cba2c3d4860d0f42f74e3))
19
+ * *(core)* Make import-coherence thresholds configurable (#78) ([7951a86](https://github.com/cardamomcode/energy-state-analyzer/commit/7951a86146ecb0068b5d308f8a7b80134b819a4f))
20
+
21
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/b2795c89d9df95e46d26171a5393129c8f0208c3..7951a86146ecb0068b5d308f8a7b80134b819a4f)</small></strong>
22
+
23
+ ## 0.10.1 - 2026-09-02
24
+
25
+ ### 🐞 Bug Fixes
26
+
27
+ * *(extension)* Preserve Python editor findings (#72) ([b2795c8](https://github.com/cardamomcode/energy-state-analyzer/commit/b2795c89d9df95e46d26171a5393129c8f0208c3))
28
+
29
+ <strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/7879447ccd900a3aef6e14b44c1e48969e907e62..b2795c89d9df95e46d26171a5393129c8f0208c3)</small></strong>
30
+
14
31
  ## 0.10.0 - 2026-09-02
15
32
 
16
33
  ### 🚀 Features
package/README.md CHANGED
@@ -66,6 +66,8 @@ for the Extension Development Host.
66
66
 
67
67
  Detector thresholds are configurable under **Settings → Energy State Analyzer**. See each detector's doc (linked under Features above) for what a setting does; the keys and defaults are:
68
68
 
69
+ For project-wide configuration shared between the editor and CLI, set thresholds in an `.esaconfig.json` file instead of — or on top of — these settings. See [docs/configuration.md](docs/configuration.md) for the schema, per-key defaults, and how the file layers over VS Code settings (`defaults < .esaconfig.json < host override`).
70
+
69
71
  - `energyStateAnalyzer.cyclomaticComplexity.mediumThreshold` / `.highThreshold` (`10` / `15`)
70
72
  - `energyStateAnalyzer.cognitiveComplexity.mediumThreshold` / `.highThreshold` (`15` / `25`)
71
73
  - `energyStateAnalyzer.coherence.largeFunctionLines` (`20`)