@prestyj/core 5.39.3 → 5.41.0

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.
@@ -3222,12 +3222,28 @@ var MODELS = [
3222
3222
  maxThinkingLevel: "high"
3223
3223
  },
3224
3224
  // ── Z.AI (GLM) ─────────────────────────────────────────
3225
- // Two GLM entries, both live on the coding endpoint (verified against its
3225
+ // All GLM entries are live on the coding endpoint (verified against its
3226
3226
  // /models list). The pre-5.3 ids stay retired: they routed to strictly worse
3227
3227
  // coding for the same plan quota, and the endpoint already answers `glm-5.2`
3228
3228
  // requests as glm-5.3.
3229
3229
  // `max` is both the ceiling and Z.AI's own default — the rungs below it live
3230
3230
  // in thinking-level.ts.
3231
+ // GLM-5.4 (released 2026-11) is served on the coding endpoint, which our
3232
+ // `glm` key already uses (listed in its /models, 2026-11-30). Images
3233
+ // are native (verified: base64 PNG read back exactly), so its attachments go
3234
+ // inline rather than through the zai_vision MCP that 5.3 still needs.
3235
+ {
3236
+ id: "glm-5.4",
3237
+ name: "GLM-5.4",
3238
+ provider: "glm",
3239
+ contextWindow: 1e6,
3240
+ maxOutputTokens: 131072,
3241
+ supportsThinking: true,
3242
+ supportsImages: true,
3243
+ supportsVideo: false,
3244
+ costTier: "medium",
3245
+ maxThinkingLevel: "max"
3246
+ },
3231
3247
  {
3232
3248
  id: "glm-5.3",
3233
3249
  name: "GLM-5.3",
@@ -3238,7 +3254,10 @@ var MODELS = [
3238
3254
  supportsImages: false,
3239
3255
  supportsVideo: false,
3240
3256
  costTier: "medium",
3241
- maxThinkingLevel: "max"
3257
+ maxThinkingLevel: "max",
3258
+ // When 5.4 landed (2026-11-23), 5.3's ladder shrank: medium/xhigh and thinking-off now 400 with
3259
+ // "always engages in thinking … please use low, high, or max".
3260
+ thinkingLevels: ["low", "high", "max"]
3242
3261
  },
3243
3262
  // GLM-5.3-Flash (released 2026-08-26): 320B-A18B natively multimodal sibling
3244
3263
  // at ~1/20th of 5.3's API price with 3× the coding-plan quota, so it is the
@@ -3664,7 +3683,7 @@ var DEFAULT_MODEL_IDS = {
3664
3683
  xiaomi: "mimo-v2.6-pro",
3665
3684
  openai: "gpt-6.2-sol",
3666
3685
  gemini: "gemini-3.1-flash-lite",
3667
- glm: "glm-5.3",
3686
+ glm: "glm-5.4",
3668
3687
  moonshot: "kimi-k3",
3669
3688
  minimax: "MiniMax-M3.1-Flash",
3670
3689
  deepseek: "deepseek-v4-pro",
@@ -3822,4 +3841,4 @@ export {
3822
3841
  getDefaultThinkingLevel,
3823
3842
  getSummaryModel
3824
3843
  };
3825
- //# sourceMappingURL=chunk-JONGQMZF.js.map
3844
+ //# sourceMappingURL=chunk-QIGFOWOP.js.map