@mlbottleneck/engine 0.4.0 → 0.4.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/README.md CHANGED
@@ -112,7 +112,7 @@ https://mlbottleneck.com/?model=qwen3.8_27b&hardware=Intel%20Arc%20Pro%20B70&cou
112
112
 
113
113
  - `package.json` `version` is the SDK version; `engine.version` reports it.
114
114
  - `npm test` rebuilds `dist/` from `engine.js` + `sdk/api.js` (and stamps the page's `engine.js?v=<hash>` cache key), so the committed bundle is always the one that passed the suite.
115
- - Bump the version when the engine, catalogs, or API change; `.github/workflows/release-sdk.yml` then publishes a `sdk-v<version>` GitHub release with the bundles, types, evidence snapshot, and checksums, and `.github/workflows/publish-npm.yml` publishes `dist/` to npm as `@mlbottleneck/engine` (name set by `sdkName` in `package.json`; needs the `NPM_TOKEN` repository secret and a LICENSE). The weekly evidence refresh updates `dist/localmaxxing-snapshot.json` in place without a release.
115
+ - Bump the version when the engine, catalogs, or API change; `.github/workflows/release-sdk.yml` then publishes a `sdk-v<version>` GitHub release with the bundles, types, evidence snapshot, and checksums, and `.github/workflows/publish-npm.yml` publishes `dist/` to npm as `@mlbottleneck/engine` (name set by `sdkName` in `package.json`). It authenticates with npm trusted publishing (OIDC: the package's Trusted Publisher on npmjs.com points at `steveseguin/ml-bottleneck`, workflow `publish-npm.yml`), falling back to an `NPM_TOKEN` secret; a 2FA-gated token fails with `EOTP`, in which case publish by hand from `dist/` with `npm publish --access public --otp=<code>`. The weekly evidence refresh updates `dist/localmaxxing-snapshot.json` in place without a release.
116
116
 
117
117
  ## Limits
118
118
 
@@ -1,4 +1,4 @@
1
- /*! ML Bottleneck engine v0.4.0 | https://mlbottleneck.com | MIT */
1
+ /*! ML Bottleneck engine v0.4.1 | https://mlbottleneck.com | MIT */
2
2
  // Generated by scripts/build-sdk.mjs from engine.js and sdk/api.js. Do not edit.
3
3
 
4
4
  function createEngine(options = {}) {
@@ -7792,11 +7792,11 @@ function createEngine(options = {}) {
7792
7792
 
7793
7793
  if (options.snapshot) setEngineEvidence(options.snapshot);
7794
7794
  const api = createApi();
7795
- api.version = "0.4.0";
7795
+ api.version = "0.4.1";
7796
7796
  api.evidenceGeneratedAt = options.snapshot?.generatedAt || null;
7797
7797
  return api;
7798
7798
  }
7799
7799
 
7800
- const version = "0.4.0";
7800
+ const version = "0.4.1";
7801
7801
  export { createEngine, version };
7802
7802
  export default createEngine;
@@ -1,4 +1,4 @@
1
- /*! ML Bottleneck engine v0.4.0 | https://mlbottleneck.com | MIT */
1
+ /*! ML Bottleneck engine v0.4.1 | https://mlbottleneck.com | MIT */
2
2
  // Generated by scripts/build-sdk.mjs from engine.js and sdk/api.js. Do not edit.
3
3
  (function (root, factory) {
4
4
  if (typeof define === 'function' && define.amd) {
@@ -7801,10 +7801,10 @@
7801
7801
 
7802
7802
  if (options.snapshot) setEngineEvidence(options.snapshot);
7803
7803
  const api = createApi();
7804
- api.version = "0.4.0";
7804
+ api.version = "0.4.1";
7805
7805
  api.evidenceGeneratedAt = options.snapshot?.generatedAt || null;
7806
7806
  return api;
7807
7807
  }
7808
7808
 
7809
- return { createEngine, version: "0.4.0" };
7809
+ return { createEngine, version: "0.4.1" };
7810
7810
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlbottleneck/engine",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Physics-based LLM inference planner: decode/prefill tokens per second, memory fit, multi-GPU strategy, and speculative-decoding gains for any model on any hardware, calibrated on community benchmarks.",
5
5
  "keywords": [
6
6
  "llm",