@meowlynxsea/koi 0.2.0 → 0.2.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/dist/main.js +2 -2
- package/dist/node_modules/@opentui/core-darwin-arm64/index.js +1 -0
- package/dist/node_modules/@opentui/core-darwin-arm64/libopentui.dylib +0 -0
- package/dist/node_modules/@opentui/core-darwin-arm64/package.json +23 -0
- package/dist/onnx-bin/napi-v3/darwin/arm64/libonnxruntime.1.21.0.dylib +0 -0
- package/dist/onnx-bin/napi-v3/darwin/arm64/onnxruntime_binding.node +0 -0
- package/package.json +3 -2
package/dist/main.js
CHANGED
|
@@ -346672,7 +346672,7 @@ var require_binding = __commonJS((exports) => {
|
|
|
346672
346672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
346673
346673
|
exports.initOrt = exports.binding = undefined;
|
|
346674
346674
|
var onnxruntime_common_1 = require_cjs();
|
|
346675
|
-
exports.binding = __require(
|
|
346675
|
+
exports.binding = __require(`./onnx-bin/napi-v3/${process.platform}/${process.arch}/onnxruntime_binding.node`);
|
|
346676
346676
|
var ortInitialized = false;
|
|
346677
346677
|
var initOrt = () => {
|
|
346678
346678
|
if (!ortInitialized) {
|
|
@@ -418693,7 +418693,7 @@ var ReserveInfoStruct = defineStruct([
|
|
|
418693
418693
|
len: value2.len
|
|
418694
418694
|
})
|
|
418695
418695
|
});
|
|
418696
|
-
var module = await import(`@opentui/core-${process.platform}-${process.arch}/index.
|
|
418696
|
+
var module = await import(`@opentui/core-${process.platform}-${process.arch}/index.js`);
|
|
418697
418697
|
var targetLibPath = module.default;
|
|
418698
418698
|
if (isBunfsPath(targetLibPath)) {
|
|
418699
418699
|
targetLibPath = targetLibPath.replace("../", "");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const module = await import("./libopentui.dylib", { with: { type: "file" } }); export default module.default;
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opentui/core-darwin-arm64",
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "Prebuilt darwin-arm64 binaries for @opentui/core",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.ts",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/anomalyco/opentui",
|
|
11
|
+
"directory": "packages/core"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"prebuild",
|
|
15
|
+
"prebuilt"
|
|
16
|
+
],
|
|
17
|
+
"os": [
|
|
18
|
+
"darwin"
|
|
19
|
+
],
|
|
20
|
+
"cpu": [
|
|
21
|
+
"arm64"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meowlynxsea/koi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "A coding agent built on Pi SDK with TUI + Bun runtime",
|
|
5
5
|
"module": "src/main.tsx",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "bun run src/main.tsx",
|
|
20
|
-
"
|
|
20
|
+
"postinstall": "bun run scripts/postinstall.ts",
|
|
21
|
+
"build": "bun build src/main.tsx --outdir dist --target bun && cp node_modules/@opentui/core/parser.worker.js dist/ && cp -r node_modules/@opentui/core/assets dist/opentui-assets && mkdir -p dist/cce-frontend && cp -r src/cce/web/frontend/dist/* dist/cce-frontend/ && mkdir -p dist/onnx-bin/napi-v3/darwin/arm64 && cp node_modules/onnxruntime-node/bin/napi-v3/darwin/arm64/* dist/onnx-bin/napi-v3/darwin/arm64/ && bun run scripts/postbuild.ts",
|
|
21
22
|
"check": "tsc --noEmit",
|
|
22
23
|
"lint": "eslint src/",
|
|
23
24
|
"lint:fix": "eslint src/ --fix"
|