You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✘ Failed to install pi-commandcode-provider: Error: Plugin pi-commandcode-provider extension validation failed:
C:\Users\Administrator.omp\plugins\node_modules\pi-commandcode-provider\index.ts: Export named 'calculateCost' not found in module 'D:\Bun\install\global\node_modules@oh-my-pi\pi-coding-agent\src\extensibility\legacy-pi-ai-shim.ts'.
The provider-side fix avoids importing calculateCost at runtime, so Oh My Pi extension validation should no longer fail on the missing export.
The underlying compatibility problem is in Oh My Pi though: its legacy pi-ai shim remaps imports and does not export calculateCost, while upstream pi exposes it. So this should ideally also be reported/fixed in OMP itself.
Activity
patlux commentedon Jul 5, 2026
This should be fixed in
[email protected]/ GitHub releasev0.4.2.The provider-side fix avoids importing
calculateCostat runtime, so Oh My Pi extension validation should no longer fail on the missing export.The underlying compatibility problem is in Oh My Pi though: its legacy
pi-aishim remaps imports and does not exportcalculateCost, while upstream pi exposes it. So this should ideally also be reported/fixed in OMP itself.