@fulmenhq/tsfulmen 0.3.0 → 0.3.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/appidentity/index.js +156 -4150
  3. package/dist/appidentity/index.js.map +1 -1
  4. package/dist/bin/prometheus-cli.d.ts +1 -0
  5. package/dist/bin/prometheus-cli.js +9331 -0
  6. package/dist/bin/prometheus-cli.js.map +1 -0
  7. package/dist/bin/schema-cli.d.ts +1 -0
  8. package/dist/bin/schema-cli.js +6104 -0
  9. package/dist/bin/schema-cli.js.map +1 -0
  10. package/dist/bin/signals-cli.d.ts +1 -0
  11. package/dist/bin/signals-cli.js +2104 -0
  12. package/dist/bin/signals-cli.js.map +1 -0
  13. package/dist/config/index.js +29 -4915
  14. package/dist/config/index.js.map +1 -1
  15. package/dist/crucible/index.js +120 -5336
  16. package/dist/crucible/index.js.map +1 -1
  17. package/dist/errors/index.js +52 -4434
  18. package/dist/errors/index.js.map +1 -1
  19. package/dist/foundry/index.js +197 -1874
  20. package/dist/foundry/index.js.map +1 -1
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +161 -4154
  23. package/dist/index.js.map +1 -1
  24. package/dist/pathfinder/index.js +47 -4378
  25. package/dist/pathfinder/index.js.map +1 -1
  26. package/dist/reports/license-inventory.csv +2 -2
  27. package/dist/schema/index.js +0 -4
  28. package/dist/schema/index.js.map +1 -1
  29. package/dist/signals/index.js +231 -3570
  30. package/dist/signals/index.js.map +1 -1
  31. package/dist/telemetry/http/index.js +94 -5280
  32. package/dist/telemetry/http/index.js.map +1 -1
  33. package/dist/telemetry/index.js +70 -4786
  34. package/dist/telemetry/index.js.map +1 -1
  35. package/dist/telemetry/prometheus/index.js +461 -4450
  36. package/dist/telemetry/prometheus/index.js.map +1 -1
  37. package/package.json +8 -2
package/CHANGELOG.md CHANGED
@@ -14,6 +14,28 @@ _No unreleased changes._
14
14
 
15
15
  ---
16
16
 
17
+ ## [0.3.1] - 2026-06-15
18
+
19
+ > **Patch — compile-safety.** Makes tsfulmen safe to embed in `bun build --compile` single-file binaries. Fixes two blockers surfaced downstream by `forge-workhorse-tuvan`: the embedded CLIs shadowed the consumer's own program on import, and an eager WASM load crashed compiled binaries at startup. No breaking changes; Node engine floor unchanged (`>=22.12.0`). Shipped as five reviewed PRs (#13, #14, #15, #16, #17). Full details in `docs/releases/v0.3.1.md`.
20
+
21
+ ### Fixed
22
+
23
+ - **CLI shadowing under `bun build --compile`** (#15) — the schema/signals/prometheus CLIs self-executed on import via the non-compile-safe guard `import.meta.url === \`file://${process.argv[1]}\``; under `--compile` it fired for non-entry modules, so a compiled consumer importing `@fulmenhq/tsfulmen/schema` ran `tsfulmen-schema` instead of its own program. The library modules no longer parse argv on import; executables moved to dedicated bin entries out of the importable graph.
24
+ - **Compiled-binary WASM `ENOENT` crash** (#14) — bump `@3leaps/string-metrics-wasm` 0.3.8 → 0.3.10, fixing the eager top-level WASM load that `--compile` rewrites but does not embed. Consumers no longer need an `overrides` entry.
25
+
26
+ ### Added
27
+
28
+ - **Package `bin` commands** `tsfulmen-schema`, `tsfulmen-signals`, `tsfulmen-prometheus` (#15) — the previously internal-only developer CLIs are now exposed as dedicated bin entrypoints (separate from the importable library surface). Additive; no existing API changes.
29
+ - **`.fulmen/app.yaml` app identity** (#16) — declares the package's Fulmen app identity (binary `tsfulmen`, vendor `fulmenhq`, category `sdk`) now that it ships executables; fixes the latent `make validate-app-identity` target. Not shipped in `files` (repo-own identity; must not shadow a consumer's discovery).
30
+
31
+ ### Changed
32
+
33
+ - **`createPrometheusCLI()` pure factory** (#15) — extracted from the prometheus CLI's `main()`; also delivers the v0.3.0 `buildProgram()` testability follow-up.
34
+ - **CI: GitHub Actions off the Node 20 runtime** (#13) — `checkout`/`cache`/`upload-artifact`/`download-artifact` bumped to node24 majors ahead of GitHub's 2026-06-16 cutover; `setup-bun` normalized; invalid `cache:` input dropped.
35
+ - **CI: compiled-binary smoke guard** (#17) — new build-job step + `make verify-compile-smoke` that packs the tarball, compiles a fixture importing the schema (shadow) and similarity (WASM) surfaces, and asserts the consumer owns its CLI and WASM loads. Both 0.3.0 blockers shipped silently because nothing exercised `--compile`.
36
+
37
+ ---
38
+
17
39
  ## [0.3.0] - 2026-06-06
18
40
 
19
41
  > **Breaking (majors wave).** Migrates four major dependencies (archiver 8, pino 10, TypeScript 6, commander 15) and **raises the Node engine floor to `>=22.12.0`** (was `>=20.0.0`). No external consumers are affected (the galaxy runs Node 22+). Shipped as four reviewed PRs (#6, #9, #10, #11). Full details in `docs/releases/v0.3.0.md`.