fix(omp): avoid unsupported calculateCost import

Fix OMP installation by removing the unsupported calculateCost runtime import from pi-ai.
This commit is contained in:
Patrick Wozniak
2026-07-05 03:10:02 +02:00
committed by GitHub
parent 0f6fc17816
commit e123e84116
7 changed files with 135 additions and 4 deletions
+2
View File
@@ -2,6 +2,8 @@
## Unreleased
- Fix Oh My Pi extension validation by avoiding the missing `calculateCost` export from OMP's legacy `pi-ai` shim.
## 0.4.1 - 2026-06-16
- Use the explicit `$COMMANDCODE_API_KEY` provider registration syntax expected by newer pi versions, removing the startup deprecation warning while keeping legacy placeholder compatibility.