@prestyj/core 5.39.1 → 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/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-ultraspeed` is API Credits-only,
401
- * while `mimo-v2.6-pro`/`mimo-v2.6-flash` prefer the Token Plan but fall back to API
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-ultraspeed` is API Credits-only,
401
- * while `mimo-v2.6-pro`/`mimo-v2.6-flash` prefer the Token Plan but fall back to API
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-WSFHVWQ4.js";
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 (required for UltraSpeed)",
902
+ label: "API Credits",
903
903
  baseUrl: "https://api.xiaomimimo.com/v1"
904
904
  }
905
905
  ]