energy-state-analyzer 0.1.0 → 0.1.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.
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "permissions": {
4
+ "allow": [
5
+ "Bash(ls:*)",
6
+ "Bash(npm run compile:*)",
7
+ "Bash(npm run *)",
8
+ "Bash(npm view *)"
9
+ ],
10
+ "deny": []
11
+ }
12
+ }
package/.vscodeignore ADDED
@@ -0,0 +1,23 @@
1
+ .vscode/**
2
+ .vscode-test/**
3
+ out/**
4
+ node_modules/**
5
+ src/**
6
+ .gitignore
7
+ .yarnrc
8
+ webpack.config.js
9
+ vsc-extension-quickstart.md
10
+ **/tsconfig.json
11
+ **/eslint.config.mjs
12
+ **/*.map
13
+ **/*.ts
14
+ **/.vscode-test.*
15
+ .claude/**
16
+ CLAUDE.md
17
+ energy-state.md
18
+ .config/**
19
+ .github/**
20
+ RELEASING.md
21
+ Justfile
22
+ AGENT_DECISION_COMMENTS.md
23
+ .npmignore
package/CHANGELOG.md ADDED
@@ -0,0 +1,39 @@
1
+ ---
2
+ last_commit_released: 94e05303b32730a02656ebd820f356b50d49b59b
3
+ name: energy-state-analyzer
4
+ updaters:
5
+ - command: npm version {version} --no-git-tag-version --allow-same-version
6
+ ---
7
+
8
+ # Change Log
9
+
10
+ All notable changes to the "energy-state-analyzer" extension are generated by
11
+ [EasyBuild.ShipIt](https://github.com/easybuild-org/EasyBuild.ShipIt) from
12
+ [Conventional Commits](https://www.conventionalcommits.org/).
13
+
14
+ ## [0.1.1]
15
+
16
+ - Added the missing `license` field to `package.json` (MIT) — npm was displaying the package as "Proprietary".
17
+
18
+ ## [0.1.0]
19
+
20
+ This entry marks the release baseline used when adopting ShipIt. Entries below
21
+ this point were written by hand.
22
+
23
+ ## [0.0.10]
24
+
25
+ - Fixed the F# magic-value detector: any literal inside a `let`-bound function body was being treated as a named constant, because F#'s grammar gives function definitions and plain value bindings the same node type. Only the direct value of a plain (non-function) `let` binding is now exempted.
26
+ - Added `energyStateAnalyzer.magicValues.enabled` (default `true`) to toggle the magic-value detector on/off.
27
+
28
+ ## [0.0.8]
29
+
30
+ - Extended the primitive obsession detector to F# and TypeScript (previously Python only): consecutive same-typed primitive parameters and variables compared against 3+ distinct string literals are now flagged in all three languages. Python retains an additional `in (a, b, c)` membership-check variant that F#/TypeScript have no direct grammar equivalent for.
31
+
32
+ ## [0.0.7]
33
+
34
+ - Added a primitive obsession detector (Python only): flags consecutive same-typed primitive parameters (e.g. `lat: float, lon: float`, a swap risk) and variables compared against 3+ distinct string literals (a de facto enum encoded as strings).
35
+
36
+ ## [0.0.6]
37
+
38
+ - Added a file coherence check that flags files with too many large functions (configurable via `energyStateAnalyzer.coherence.largeFunctionLines` and `.maxLargeFunctions`), independent of total function count, so languages like F# with many small functions per module aren't penalized.
39
+ - Initial release
package/package.json CHANGED
@@ -2,8 +2,9 @@
2
2
  "name": "energy-state-analyzer",
3
3
  "displayName": "Energy State Analyzer",
4
4
  "description": "Visualize code energy states in real-time (Python, F#, TypeScript)",
5
- "version": "0.1.0",
5
+ "version": "0.1.1",
6
6
  "publisher": "cardamom-code",
7
+ "license": "MIT",
7
8
  "icon": "images/icon.png",
8
9
  "repository": {
9
10
  "type": "git",
@@ -12,11 +13,6 @@
12
13
  "engines": {
13
14
  "vscode": "^1.74.0"
14
15
  },
15
- "files": [
16
- "dist/cli.js",
17
- "dist/cli.js.map",
18
- "grammars/"
19
- ],
20
16
  "categories": [
21
17
  "Other",
22
18
  "Linters",