flamerjs 1.1.1 → 1.1.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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to flamer are recorded here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project
5
5
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.1.3] - 2026-10-24
8
+
9
+ ### Fixed
10
+
11
+ - Standalone native installation now installs the CLI and both Rust/C++ workers.
12
+ - Native workers are discovered automatically from the platform cache.
13
+ - Added Windows PowerShell installation and checksum verification.
14
+
7
15
  ## [1.0.0] - 2026-10-24
8
16
 
9
17
  ### Added
@@ -21,6 +29,13 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
21
29
  - Native execution failures are explicit for targeted workers and safely fall
22
30
  back to TypeScript in the default `all` mode.
23
31
 
32
+ ## [1.1.2] - 2026-10-24
33
+
34
+ ### Fixed
35
+
36
+ - Upload native binaries as GitHub Release assets and populate release notes from the changelog.
37
+ - Ensure release workflow uses the current package version for native packaging.
38
+
24
39
  ## [1.1.1] - 2026-10-24
25
40
 
26
41
  ### Fixed
@@ -132,7 +147,9 @@ Measured on a 3.0 GB monorepo of 98,161 files, 71,150 of them source:
132
147
  - `poison` is a separate project. Flamer does not import it, and the handoff is
133
148
  a runtime capability check in `SKILL.md` rather than a code dependency.
134
149
 
135
- [Unreleased]: https://github.com/dummy3ye/flamer/compare/v1.1.1...HEAD
150
+ [Unreleased]: https://github.com/dummy3ye/flamer/compare/v1.1.3...HEAD
151
+ [1.1.3]: https://github.com/dummy3ye/flamer/releases/tag/v1.1.3
152
+ [1.1.2]: https://github.com/dummy3ye/flamer/releases/tag/v1.1.2
136
153
  [1.1.1]: https://github.com/dummy3ye/flamer/releases/tag/v1.1.1
137
154
  [1.1.0]: https://github.com/dummy3ye/flamer/releases/tag/v1.1.0
138
155
  [1.0.0]: https://github.com/dummy3ye/flamer/releases/tag/v1.0.0
package/README.md CHANGED
@@ -215,11 +215,20 @@ For the source installation path:
215
215
  curl -fsSL https://raw.githubusercontent.com/dummy3ye/flamer/master/scripts/install.sh | sh
216
216
  ```
217
217
 
218
- Platform-specific native release binaries are not bundled in the current npm
219
- package yet. The npm package uses optional native packages when they are
220
- published for the current platform; if npm skips them, TypeScript fallback is
221
- automatic. The installer's `native` path is reserved for standalone releases
222
- that attach those assets.
218
+ The npm package uses optional native packages when they are published for the
219
+ current platform; if npm skips them, TypeScript fallback is automatic. To
220
+ install the CLI plus standalone Rust and C++ release workers on Unix-like
221
+ systems:
222
+
223
+ ```bash
224
+ FLAMER_VERSION=1.1.3 \
225
+ sh -c 'curl -fsSL https://raw.githubusercontent.com/dummy3ye/flamer/master/scripts/install.sh | sh -s -- native'
226
+ flamer .
227
+ ```
228
+
229
+ On Windows, run `scripts/install.ps1` from the repository or download it from
230
+ the tagged source tree. Both installers verify SHA-256 checksums and place the
231
+ two workers in the Flamer native cache.
223
232
 
224
233
  ## How it works
225
234
 
package/dist/cli.js CHANGED
@@ -2907,6 +2907,7 @@ import { spawn } from "child_process";
2907
2907
  import { existsSync as existsSync3 } from "fs";
2908
2908
  import { join as join6 } from "path";
2909
2909
  import { createRequire } from "module";
2910
+ import { homedir } from "os";
2910
2911
  var require2 = createRequire(import.meta.url);
2911
2912
  function nativePackageName() {
2912
2913
  const platform = `${process.platform}-${process.arch}`;
@@ -2929,12 +2930,27 @@ function packagedWorkerPath(worker) {
2929
2930
  return null;
2930
2931
  }
2931
2932
  }
2933
+ function downloadedWorkerPath(worker) {
2934
+ const directory = process.env.FLAMER_NATIVE_DIR || join6(
2935
+ process.env.XDG_CACHE_HOME || (process.platform === "win32" ? process.env.LOCALAPPDATA || join6(homedir(), "AppData", "Local") : join6(homedir(), ".cache")),
2936
+ "flamer",
2937
+ "bin"
2938
+ );
2939
+ const extension = process.platform === "win32" ? ".exe" : "";
2940
+ const platform = `${process.platform}-${process.arch}`;
2941
+ return join6(
2942
+ directory,
2943
+ worker === "rust" ? `flamer-core-rust-${platform}${extension}` : `flamer-core-cpp-${platform}${extension}`
2944
+ );
2945
+ }
2932
2946
  function nativeWorkerPath(root, worker) {
2933
2947
  const configured = worker === "rust" ? process.env.FLAMER_RUST_CORE : process.env.FLAMER_CPP_CORE;
2934
2948
  if (configured) return configured;
2935
2949
  if (process.env.FLAMER_CORE && worker === "rust") return process.env.FLAMER_CORE;
2936
2950
  const packaged = packagedWorkerPath(worker);
2937
2951
  if (packaged) return packaged;
2952
+ const downloaded = downloadedWorkerPath(worker);
2953
+ if (existsSync3(downloaded)) return downloaded;
2938
2954
  return worker === "rust" ? join6(root, "native", "core", "rust", "target", "release", "flamer-core") : join6(root, "native", "core", "cpp", "build", "flamer-core-cpp");
2939
2955
  }
2940
2956
  function runNativeWorker(root, files, worker, operation = "file_metrics") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flamerjs",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Language-agnostic code health auditor that walks a repository once and reports what is wrong with it",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,12 +27,12 @@
27
27
  "docs/ARCHITECTURE.md"
28
28
  ],
29
29
  "optionalDependencies": {
30
- "@dummy3ye/flamer-native-darwin-arm64": "1.1.1",
31
- "@dummy3ye/flamer-native-darwin-x64": "1.1.1",
32
- "@dummy3ye/flamer-native-linux-arm64": "1.1.1",
33
- "@dummy3ye/flamer-native-linux-x64": "1.1.1",
34
- "@dummy3ye/flamer-native-win32-arm64": "1.1.1",
35
- "@dummy3ye/flamer-native-win32-x64": "1.1.1"
30
+ "@dummy3ye/flamer-native-darwin-arm64": "1.1.3",
31
+ "@dummy3ye/flamer-native-darwin-x64": "1.1.3",
32
+ "@dummy3ye/flamer-native-linux-arm64": "1.1.3",
33
+ "@dummy3ye/flamer-native-linux-x64": "1.1.3",
34
+ "@dummy3ye/flamer-native-win32-arm64": "1.1.3",
35
+ "@dummy3ye/flamer-native-win32-x64": "1.1.3"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsup",