@prestyj/core 5.39.2 → 5.39.3
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/dist/{chunk-WSFHVWQ4.js → chunk-JONGQMZF.js} +19 -14
- package/dist/chunk-JONGQMZF.js.map +1 -0
- package/dist/index.cjs +19 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model-registry.cjs +9 -11
- package/dist/model-registry.cjs.map +1 -1
- package/dist/model-registry.d.cts +3 -3
- package/dist/model-registry.d.ts +3 -3
- package/dist/model-registry.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-WSFHVWQ4.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -397,9 +397,9 @@ declare function providerStorageKeys(provider: string): string[];
|
|
|
397
397
|
/**
|
|
398
398
|
* Storage key for the Xiaomi API Credits credential (`https://api.xiaomimimo.com/v1`).
|
|
399
399
|
* Kept distinct from the `xiaomi` Token Plan entry (`token-plan-sgp.xiaomimimo.com`)
|
|
400
|
-
* so a user can configure BOTH — `mimo-v2.6-pro
|
|
401
|
-
*
|
|
402
|
-
* Credits when only that's configured. Which key(s) a model tries, and in what
|
|
400
|
+
* so a user can configure BOTH — every MiMo model (`mimo-v2.6-pro`, `-flash`, and
|
|
401
|
+
* `-pro-ultraspeed`, which Token Plan Pro/Max serve) prefers the Token Plan and
|
|
402
|
+
* falls back to API Credits when only that's configured. Which key(s) a model tries, and in what
|
|
403
403
|
* order, is decided per-model via `getAuthStorageKeys()` in model-registry.ts.
|
|
404
404
|
*/
|
|
405
405
|
declare const XIAOMI_CREDITS_KEY = "xiaomi-credits";
|
package/dist/index.d.ts
CHANGED
|
@@ -397,9 +397,9 @@ declare function providerStorageKeys(provider: string): string[];
|
|
|
397
397
|
/**
|
|
398
398
|
* Storage key for the Xiaomi API Credits credential (`https://api.xiaomimimo.com/v1`).
|
|
399
399
|
* Kept distinct from the `xiaomi` Token Plan entry (`token-plan-sgp.xiaomimimo.com`)
|
|
400
|
-
* so a user can configure BOTH — `mimo-v2.6-pro
|
|
401
|
-
*
|
|
402
|
-
* Credits when only that's configured. Which key(s) a model tries, and in what
|
|
400
|
+
* so a user can configure BOTH — every MiMo model (`mimo-v2.6-pro`, `-flash`, and
|
|
401
|
+
* `-pro-ultraspeed`, which Token Plan Pro/Max serve) prefers the Token Plan and
|
|
402
|
+
* falls back to API Credits when only that's configured. Which key(s) a model tries, and in what
|
|
403
403
|
* order, is decided per-model via `getAuthStorageKeys()` in model-registry.ts.
|
|
404
404
|
*/
|
|
405
405
|
declare const XIAOMI_CREDITS_KEY = "xiaomi-credits";
|
package/dist/index.js
CHANGED
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
usesOpenAICodexTransport,
|
|
86
86
|
withFileLock,
|
|
87
87
|
withoutPaidTier
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-JONGQMZF.js";
|
|
89
89
|
import {
|
|
90
90
|
getAppPaths
|
|
91
91
|
} from "./chunk-DVWS2KEW.js";
|
|
@@ -899,7 +899,7 @@ var ALL_AUTH_PROVIDERS = [
|
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
901
|
key: XIAOMI_CREDITS_KEY,
|
|
902
|
-
label: "API Credits
|
|
902
|
+
label: "API Credits",
|
|
903
903
|
baseUrl: "https://api.xiaomimimo.com/v1"
|
|
904
904
|
}
|
|
905
905
|
]
|