energy-state-analyzer 0.18.0 → 0.18.1
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 +1 -0
- package/CHANGELOG.md +9 -1
- package/README.md +14 -0
- package/dist/cli.js +1 -1
- package/docs/detectors/excessive-nesting.md +24 -0
- package/docs/detectors/file-coherence.md +2 -2
- package/package.json +1 -1
package/.vscodeignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
last_commit_released:
|
|
2
|
+
last_commit_released: 00fd3e6fbca7cbfa1fec8417ffe5ee805b0960c5
|
|
3
3
|
name: energy-state-analyzer
|
|
4
4
|
updaters:
|
|
5
5
|
- command: npm version {version} --no-git-tag-version --allow-same-version
|
|
@@ -14,6 +14,14 @@ All notable changes to the "energy-state-analyzer" extension are generated by
|
|
|
14
14
|
[EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
|
|
15
15
|
[Conventional Commits](https://www.conventionalcommits.org/).
|
|
16
16
|
|
|
17
|
+
## 0.18.1 - 2026-09-15
|
|
18
|
+
|
|
19
|
+
### 🐞 Bug Fixes
|
|
20
|
+
|
|
21
|
+
* Relax Kotlin import member fan-out threshold (#148) ([d69b16a](https://github.com/cardamomcode/energy-state-analyzer/commit/d69b16a55d38a66aa37795ed21d82d840205e8e7))
|
|
22
|
+
|
|
23
|
+
<strong><small>[View changes on Github](https://github.com/cardamomcode/energy-state-analyzer/compare/9cff149fd78949a772a402cc26bb4c29cf6857fe..00fd3e6fbca7cbfa1fec8417ffe5ee805b0960c5)</small></strong>
|
|
24
|
+
|
|
17
25
|
## 0.18.0 - 2026-09-14
|
|
18
26
|
|
|
19
27
|
### 🚀 Features
|
package/README.md
CHANGED
|
@@ -58,6 +58,20 @@ npx energy-state-analyzer path/to/file.py # or .fs / .fsx / .ts / .kt / .cpp /
|
|
|
58
58
|
|
|
59
59
|
See [docs/cli.md](docs/cli.md) for scanning a whole repo, aggregated markdown/JSON/human reports, and diffing a PR against a base branch. See [docs/agent-integration.md](docs/agent-integration.md) for wiring the CLI into an AI coding agent's edit-and-verify loop.
|
|
60
60
|
|
|
61
|
+
### Agent skill
|
|
62
|
+
|
|
63
|
+
Install the companion skill globally for Claude Code, Pi, and Codex directly from this repository:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npx skills add cardamomcode/energy-state-analyzer \
|
|
67
|
+
--skill energy-state-analyzer --global \
|
|
68
|
+
--agent claude-code --agent pi --agent codex
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The skill teaches agents how to shape new code for a clean first scan, interpret the JSON report,
|
|
72
|
+
fix valid findings without gaming metrics, and verify the result. Omit `--global` to install it only
|
|
73
|
+
for the current project, or run the command without agent flags to choose targets interactively.
|
|
74
|
+
|
|
61
75
|
## Requirements
|
|
62
76
|
|
|
63
77
|
The extension activates automatically when you open a Python, F#, TypeScript, Kotlin, C++, or C# file; it bundles its own grammars for parsing (via `web-tree-sitter`), so no compiler or external parser is required. F# files only get a `fsharp` language ID (and so trigger analysis) if you have an F# language extension installed (e.g. [Ionide](https://ionide.io/)), VS Code otherwise treats `.fs` files as plain text. The CLI recognizes the full VS Code C++ suffix set, including compound template suffixes such as `.hpp.in`; see [Command-Line Usage](docs/cli.md#supported-file-suffixes).
|