fix: load registerApiProvider dynamically for OMP
OMP rewrites @earendil-works/pi-ai/compat to a bundle without registerApiProvider, which broke static import at install/load. Probe the export at runtime; stock pi still registers qoder-api for global streamSimple, while OMP relies on registerProvider(streamSimple).
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pi-provider-qoder",
|
||||
"version": "0.4.3",
|
||||
"version": "0.4.4",
|
||||
"description": "Pi extension for Qoder AI — with OAuth authentication, COSY signatures and WAF bypass",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user