@meowlynxsea/koi 0.2.13 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meowlynxsea/koi",
3
- "version": "0.2.13",
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",
@@ -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");