@meowlynxsea/koi 0.2.12 → 0.2.14

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 (48) hide show
  1. package/dist/node_modules/@opentui/core-darwin-arm64/LICENSE +21 -0
  2. package/dist/node_modules/@opentui/core-darwin-arm64/README.md +3 -0
  3. package/dist/node_modules/@opentui/core-darwin-arm64/index.js +2 -1
  4. package/dist/node_modules/@opentui/core-darwin-arm64/index.ts +3 -0
  5. package/dist/node_modules/@opentui/core-darwin-arm64/package.json +3 -2
  6. package/dist/node_modules/@opentui/core-darwin-x64/LICENSE +21 -0
  7. package/dist/node_modules/@opentui/core-darwin-x64/README.md +3 -0
  8. package/dist/node_modules/@opentui/core-darwin-x64/index.bun.js +3 -0
  9. package/dist/node_modules/@opentui/core-darwin-x64/index.d.ts +2 -0
  10. package/dist/node_modules/@opentui/core-darwin-x64/index.js +3 -0
  11. package/dist/node_modules/@opentui/core-darwin-x64/libopentui.dylib +0 -0
  12. package/dist/node_modules/@opentui/core-darwin-x64/package.json +32 -0
  13. package/dist/node_modules/@opentui/core-linux-arm64/LICENSE +21 -0
  14. package/dist/node_modules/@opentui/core-linux-arm64/README.md +3 -0
  15. package/dist/node_modules/@opentui/core-linux-arm64/index.bun.js +3 -0
  16. package/dist/node_modules/@opentui/core-linux-arm64/index.d.ts +2 -0
  17. package/dist/node_modules/@opentui/core-linux-arm64/index.js +3 -0
  18. package/dist/node_modules/@opentui/core-linux-arm64/libopentui.so +0 -0
  19. package/dist/node_modules/@opentui/core-linux-arm64/package.json +32 -0
  20. package/dist/node_modules/@opentui/core-linux-x64/LICENSE +21 -0
  21. package/dist/node_modules/@opentui/core-linux-x64/README.md +3 -0
  22. package/dist/node_modules/@opentui/core-linux-x64/index.bun.js +3 -0
  23. package/dist/node_modules/@opentui/core-linux-x64/index.d.ts +2 -0
  24. package/dist/node_modules/@opentui/core-linux-x64/index.js +3 -0
  25. package/dist/node_modules/@opentui/core-linux-x64/libopentui.so +0 -0
  26. package/dist/node_modules/@opentui/core-linux-x64/package.json +32 -0
  27. package/dist/node_modules/@opentui/core-win32-arm64/LICENSE +21 -0
  28. package/dist/node_modules/@opentui/core-win32-arm64/README.md +3 -0
  29. package/dist/node_modules/@opentui/core-win32-arm64/index.bun.js +3 -0
  30. package/dist/node_modules/@opentui/core-win32-arm64/index.d.ts +2 -0
  31. package/dist/node_modules/@opentui/core-win32-arm64/index.js +3 -0
  32. package/dist/node_modules/@opentui/core-win32-arm64/opentui.dll +0 -0
  33. package/dist/node_modules/@opentui/core-win32-arm64/package.json +32 -0
  34. package/dist/node_modules/@opentui/core-win32-x64/LICENSE +21 -0
  35. package/dist/node_modules/@opentui/core-win32-x64/README.md +3 -0
  36. package/dist/node_modules/@opentui/core-win32-x64/index.bun.js +3 -0
  37. package/dist/node_modules/@opentui/core-win32-x64/index.d.ts +2 -0
  38. package/dist/node_modules/@opentui/core-win32-x64/index.js +3 -0
  39. package/dist/node_modules/@opentui/core-win32-x64/opentui.dll +0 -0
  40. package/dist/node_modules/@opentui/core-win32-x64/package.json +32 -0
  41. package/dist/node_modules/core-darwin-arm64/LICENSE +21 -0
  42. package/dist/node_modules/core-darwin-arm64/README.md +3 -0
  43. package/dist/node_modules/core-darwin-arm64/index.js +2 -0
  44. package/dist/node_modules/core-darwin-arm64/index.ts +3 -0
  45. package/dist/node_modules/core-darwin-arm64/libopentui.dylib +0 -0
  46. package/dist/node_modules/core-darwin-arm64/package.json +24 -0
  47. package/package.json +8 -3
  48. package/scripts/postinstall.ts +6 -1
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-darwin-arm64
2
+
3
+ > Prebuilt darwin-arm64 binaries for `@opentui/core`.
@@ -1 +1,2 @@
1
- const module = await import("./libopentui.dylib", { with: { type: "file" } }); export default module.default;
1
+ const module = await import("./libopentui.dylib", { with: { type: "file" } });
2
+ export default module.default;
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.dylib", { with: { type: "file" } })
2
+ const path = module.default
3
+ export default path;
@@ -19,5 +19,6 @@
19
19
  ],
20
20
  "cpu": [
21
21
  "arm64"
22
- ]
23
- }
22
+ ],
23
+ "module": "index.js"
24
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-darwin-x64
2
+
3
+ > Prebuilt darwin-x64 binaries for `@opentui/core`.
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.dylib", { with: { type: "file" } })
2
+
3
+ export default module.default
@@ -0,0 +1,2 @@
1
+ declare const path: string
2
+ export default path
@@ -0,0 +1,3 @@
1
+ import { fileURLToPath } from "node:url"
2
+
3
+ export default fileURLToPath(new URL("./libopentui.dylib", import.meta.url))
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@opentui/core-darwin-x64",
3
+ "version": "0.2.7",
4
+ "description": "Prebuilt darwin-x64 binaries for @opentui/core",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "index.js",
8
+ "types": "index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/anomalyco/opentui",
13
+ "directory": "packages/core"
14
+ },
15
+ "keywords": [
16
+ "prebuild",
17
+ "prebuilt"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
26
+ "os": [
27
+ "darwin"
28
+ ],
29
+ "cpu": [
30
+ "x64"
31
+ ]
32
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-linux-arm64
2
+
3
+ > Prebuilt linux-arm64 binaries for `@opentui/core`.
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.so", { with: { type: "file" } })
2
+
3
+ export default module.default
@@ -0,0 +1,2 @@
1
+ declare const path: string
2
+ export default path
@@ -0,0 +1,3 @@
1
+ import { fileURLToPath } from "node:url"
2
+
3
+ export default fileURLToPath(new URL("./libopentui.so", import.meta.url))
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@opentui/core-linux-arm64",
3
+ "version": "0.2.7",
4
+ "description": "Prebuilt linux-arm64 binaries for @opentui/core",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "index.js",
8
+ "types": "index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/anomalyco/opentui",
13
+ "directory": "packages/core"
14
+ },
15
+ "keywords": [
16
+ "prebuild",
17
+ "prebuilt"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
26
+ "os": [
27
+ "linux"
28
+ ],
29
+ "cpu": [
30
+ "arm64"
31
+ ]
32
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-linux-x64
2
+
3
+ > Prebuilt linux-x64 binaries for `@opentui/core`.
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.so", { with: { type: "file" } })
2
+
3
+ export default module.default
@@ -0,0 +1,2 @@
1
+ declare const path: string
2
+ export default path
@@ -0,0 +1,3 @@
1
+ import { fileURLToPath } from "node:url"
2
+
3
+ export default fileURLToPath(new URL("./libopentui.so", import.meta.url))
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@opentui/core-linux-x64",
3
+ "version": "0.2.7",
4
+ "description": "Prebuilt linux-x64 binaries for @opentui/core",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "index.js",
8
+ "types": "index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/anomalyco/opentui",
13
+ "directory": "packages/core"
14
+ },
15
+ "keywords": [
16
+ "prebuild",
17
+ "prebuilt"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
26
+ "os": [
27
+ "linux"
28
+ ],
29
+ "cpu": [
30
+ "x64"
31
+ ]
32
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-win32-arm64
2
+
3
+ > Prebuilt win32-arm64 binaries for `@opentui/core`.
@@ -0,0 +1,3 @@
1
+ const module = await import("./opentui.dll", { with: { type: "file" } })
2
+
3
+ export default module.default
@@ -0,0 +1,2 @@
1
+ declare const path: string
2
+ export default path
@@ -0,0 +1,3 @@
1
+ import { fileURLToPath } from "node:url"
2
+
3
+ export default fileURLToPath(new URL("./opentui.dll", import.meta.url))
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@opentui/core-win32-arm64",
3
+ "version": "0.2.7",
4
+ "description": "Prebuilt win32-arm64 binaries for @opentui/core",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "index.js",
8
+ "types": "index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/anomalyco/opentui",
13
+ "directory": "packages/core"
14
+ },
15
+ "keywords": [
16
+ "prebuild",
17
+ "prebuilt"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
26
+ "os": [
27
+ "win32"
28
+ ],
29
+ "cpu": [
30
+ "arm64"
31
+ ]
32
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-win32-x64
2
+
3
+ > Prebuilt win32-x64 binaries for `@opentui/core`.
@@ -0,0 +1,3 @@
1
+ const module = await import("./opentui.dll", { with: { type: "file" } })
2
+
3
+ export default module.default
@@ -0,0 +1,2 @@
1
+ declare const path: string
2
+ export default path
@@ -0,0 +1,3 @@
1
+ import { fileURLToPath } from "node:url"
2
+
3
+ export default fileURLToPath(new URL("./opentui.dll", import.meta.url))
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@opentui/core-win32-x64",
3
+ "version": "0.2.7",
4
+ "description": "Prebuilt win32-x64 binaries for @opentui/core",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "module": "index.js",
8
+ "types": "index.d.ts",
9
+ "license": "MIT",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/anomalyco/opentui",
13
+ "directory": "packages/core"
14
+ },
15
+ "keywords": [
16
+ "prebuild",
17
+ "prebuilt"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
26
+ "os": [
27
+ "win32"
28
+ ],
29
+ "cpu": [
30
+ "x64"
31
+ ]
32
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 opentui
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,3 @@
1
+ ## @opentui/core-darwin-arm64
2
+
3
+ > Prebuilt darwin-arm64 binaries for `@opentui/core`.
@@ -0,0 +1,2 @@
1
+ const module = await import("./libopentui.dylib", { with: { type: "file" } });
2
+ export default module.default;
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.dylib", { with: { type: "file" } })
2
+ const path = module.default
3
+ export default path;
@@ -0,0 +1,24 @@
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
+ "module": "index.js"
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meowlynxsea/koi",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "A coding agent built on Pi SDK with TUI + Bun runtime",
5
5
  "module": "src/main.tsx",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "scripts": {
35
35
  "dev": "bun run src/main.tsx",
36
36
  "postinstall": "bun run scripts/postinstall.ts",
37
- "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/ && cp src/cce/core/schema.sql dist/ && mkdir -p dist/node_modules && for pkg in '@opentui/core-darwin-arm64' '@opentui/core-darwin-x64' '@opentui/core-linux-arm64' '@opentui/core-linux-x64' '@opentui/core-win32-arm64' '@opentui/core-win32-x64'; do if [ -d \"node_modules/$pkg\" ]; then mkdir -p \"dist/node_modules/$pkg\" && cp -r \"node_modules/$pkg/\"* \"dist/node_modules/$pkg/\"; fi; done && bun run scripts/postbuild.ts",
37
+ "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/ && cp src/cce/core/schema.sql dist/ && mkdir -p dist/node_modules && cp -r node_modules/@opentui/core-darwin-arm64 dist/node_modules/ && cp -r node_modules/@opentui/core-darwin-x64 dist/node_modules/ 2>/dev/null || true && cp -r node_modules/@opentui/core-linux-arm64 dist/node_modules/ 2>/dev/null || true && cp -r node_modules/@opentui/core-linux-x64 dist/node_modules/ 2>/dev/null || true && cp -r node_modules/@opentui/core-win32-arm64 dist/node_modules/ 2>/dev/null || true && cp -r node_modules/@opentui/core-win32-x64 dist/node_modules/ 2>/dev/null || true && bun run scripts/postbuild.ts",
38
38
  "check": "tsc --noEmit",
39
39
  "lint": "eslint src/",
40
40
  "lint:fix": "eslint src/ --fix"
@@ -52,6 +52,7 @@
52
52
  "typescript-eslint": "^8.59.2"
53
53
  },
54
54
  "dependencies": {
55
+ "@huggingface/transformers": "^3.5.0",
55
56
  "@mariozechner/clipboard": "^0.3.5",
56
57
  "@mariozechner/pi-agent-core": "0.73.0",
57
58
  "@mariozechner/pi-ai": "0.73.0",
@@ -60,6 +61,11 @@
60
61
  "@modelcontextprotocol/sdk": "1.29.0",
61
62
  "@opentui-ui/dialog": "latest",
62
63
  "@opentui/core": "latest",
64
+ "@opentui/core-darwin-x64": "^0.2.7",
65
+ "@opentui/core-linux-arm64": "0.2.7",
66
+ "@opentui/core-linux-x64": "0.2.7",
67
+ "@opentui/core-win32-arm64": "0.2.7",
68
+ "@opentui/core-win32-x64": "0.2.7",
63
69
  "@opentui/react": "latest",
64
70
  "@types/diff": "^8.0.0",
65
71
  "@types/node": "^25.6.2",
@@ -68,7 +74,6 @@
68
74
  "clipboard-image": "^0.1.0",
69
75
  "commander": "^14.0.3",
70
76
  "diff": "^9.0.0",
71
- "@huggingface/transformers": "^3.5.0",
72
77
  "fast-glob": "^3.3.3",
73
78
  "jimp": "^1.6.1",
74
79
  "react": "^19.2.6",
@@ -40,7 +40,12 @@ export default module.default;
40
40
  `;
41
41
 
42
42
  for (const moduleName of platformModules) {
43
- const modulePath = join(rootDir, "node_modules", moduleName);
43
+ // Platform modules are in the parent node_modules (global install), not in koi's node_modules
44
+ // rootDir is like C:\Users\Acro\node_modules\@meowlynxsea\koi
45
+ // dirname(rootDir) = C:\Users\Acro\node_modules
46
+ const parentDir = dirname(rootDir);
47
+ const modulePath = join(parentDir, moduleName);
48
+
44
49
  if (!existsSync(modulePath)) continue;
45
50
 
46
51
  const indexJsPath = join(modulePath, "index.js");