@cortexkit/aft-bridge 0.27.1 → 0.28.0
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/dist/platform.d.ts +4 -7
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +6 -8
- package/dist/platform.js.map +1 -1
- package/package.json +1 -1
package/dist/platform.d.ts
CHANGED
|
@@ -10,13 +10,10 @@
|
|
|
10
10
|
* Used by the resolver to turn the current runtime environment into the
|
|
11
11
|
* canonical key (e.g. `"darwin-arm64"`) that the rest of the system uses.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* 11
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* x64 binary still runs correctly under emulation. We don't ship a native
|
|
18
|
-
* `aft-win32-arm64` binary because the cross-compile toolchain story is
|
|
19
|
-
* worse than the small perf cost of running under emulation.
|
|
13
|
+
* v0.28: Windows ARM64 ships a native binary instead of relying on Windows
|
|
14
|
+
* 11's Prism x64-on-ARM64 emulator. Native ARM64 avoids the emulation tax
|
|
15
|
+
* on ARM-native Node installs and ONNX Runtime ARM64 (auto-downloaded by
|
|
16
|
+
* `onnx-runtime.ts`) couples more cleanly with a same-architecture binary.
|
|
20
17
|
*/
|
|
21
18
|
export declare const PLATFORM_ARCH_MAP: Record<string, Record<string, string>>;
|
|
22
19
|
/**
|
package/dist/platform.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIpE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOrD,CAAC"}
|
package/dist/platform.js
CHANGED
|
@@ -10,18 +10,15 @@
|
|
|
10
10
|
* Used by the resolver to turn the current runtime environment into the
|
|
11
11
|
* canonical key (e.g. `"darwin-arm64"`) that the rest of the system uses.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* 11
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* x64 binary still runs correctly under emulation. We don't ship a native
|
|
18
|
-
* `aft-win32-arm64` binary because the cross-compile toolchain story is
|
|
19
|
-
* worse than the small perf cost of running under emulation.
|
|
13
|
+
* v0.28: Windows ARM64 ships a native binary instead of relying on Windows
|
|
14
|
+
* 11's Prism x64-on-ARM64 emulator. Native ARM64 avoids the emulation tax
|
|
15
|
+
* on ARM-native Node installs and ONNX Runtime ARM64 (auto-downloaded by
|
|
16
|
+
* `onnx-runtime.ts`) couples more cleanly with a same-architecture binary.
|
|
20
17
|
*/
|
|
21
18
|
export const PLATFORM_ARCH_MAP = {
|
|
22
19
|
darwin: { arm64: "darwin-arm64", x64: "darwin-x64" },
|
|
23
20
|
linux: { arm64: "linux-arm64", x64: "linux-x64" },
|
|
24
|
-
win32: { arm64: "win32-
|
|
21
|
+
win32: { arm64: "win32-arm64", x64: "win32-x64" },
|
|
25
22
|
};
|
|
26
23
|
/**
|
|
27
24
|
* Flat map: platform-key string → GitHub release asset filename.
|
|
@@ -34,6 +31,7 @@ export const PLATFORM_ASSET_MAP = {
|
|
|
34
31
|
"darwin-x64": "aft-darwin-x64",
|
|
35
32
|
"linux-arm64": "aft-linux-arm64",
|
|
36
33
|
"linux-x64": "aft-linux-x64",
|
|
34
|
+
"win32-arm64": "aft-win32-arm64.exe",
|
|
37
35
|
"win32-x64": "aft-win32-x64.exe",
|
|
38
36
|
};
|
|
39
37
|
//# sourceMappingURL=platform.js.map
|
package/dist/platform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA2C;IACvE,MAAM,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE;IACpD,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,WAAW,EAAE;IACjD,KAAK,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,WAAW,EAAE;CAClD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA2B;IACxD,cAAc,EAAE,kBAAkB;IAClC,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,qBAAqB;IACpC,WAAW,EAAE,mBAAmB;CACjC,CAAC"}
|
package/package.json
CHANGED