@kenkaiiii/gg-core 5.49.10 → 5.50.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.
package/dist/index.js CHANGED
@@ -54,7 +54,7 @@ import {
54
54
  registerRuntimeModels,
55
55
  usesOpenAICodexTransport,
56
56
  withFileLock
57
- } from "./chunk-VMWOH3GU.js";
57
+ } from "./chunk-GSJ4NQWN.js";
58
58
  import {
59
59
  getAppPaths
60
60
  } from "./chunk-EAIPT76S.js";
@@ -436,13 +436,12 @@ var MODELS = [
436
436
  maxThinkingLevel: "high"
437
437
  },
438
438
  // ── Z.AI (GLM) ─────────────────────────────────────────
439
- // GLM-5.3 is the only GLM entry: it supersedes 5.2 (same GLM-5 base, all
440
- // gains from post-training) and the coding endpoint already answers
441
- // `glm-5.2` requests as glm-5.3, so the older ids were menu clutter that
442
- // routed to strictly worse coding for the same plan quota.
443
- // Released 2026-08-14; live on the coding endpoint (verified), while the
444
- // standard paas API is still "coming soon". `max` is both the ceiling and
445
- // Z.AI's own default — the rungs below it live in thinking-level.ts.
439
+ // Two GLM entries, both live on the coding endpoint (verified against its
440
+ // /models list). The pre-5.3 ids stay retired: they routed to strictly worse
441
+ // coding for the same plan quota, and the endpoint already answers `glm-5.2`
442
+ // requests as glm-5.3.
443
+ // `max` is both the ceiling and Z.AI's own default — the rungs below it live
444
+ // in thinking-level.ts.
446
445
  {
447
446
  id: "glm-5.3",
448
447
  name: "GLM-5.3",
@@ -455,6 +454,30 @@ var MODELS = [
455
454
  costTier: "medium",
456
455
  maxThinkingLevel: "max"
457
456
  },
457
+ // GLM-5.3-Flash (released 2026-08-26): 320B-A18B natively multimodal sibling
458
+ // at ~1/20th of 5.3's API price with 3× the coding-plan quota, so it is the
459
+ // provider's `low` tier — scout sub-agents and compaction summaries route
460
+ // here instead of paying 5.3 rates.
461
+ // Images are native on the coding endpoint (verified: base64 data URL in an
462
+ // `image_url` block answers correctly), which also means GLM image
463
+ // attachments go inline for this model rather than through the zai_vision MCP
464
+ // detour that `supportsImages: false` triggers.
465
+ // Video/file input is documented but unverified on this transport, so it
466
+ // stays off until measured. Thinking cannot be disabled server-side (Z.AI
467
+ // maps a `disabled` toggle to the `low` rung and answers 200), and unlike
468
+ // 5.3 it accepts any reasoning_effort string without a 400.
469
+ {
470
+ id: "glm-5.3-flash",
471
+ name: "GLM-5.3-Flash",
472
+ provider: "glm",
473
+ contextWindow: 1e6,
474
+ maxOutputTokens: 131072,
475
+ supportsThinking: true,
476
+ supportsImages: true,
477
+ supportsVideo: false,
478
+ costTier: "low",
479
+ maxThinkingLevel: "max"
480
+ },
458
481
  // ── MiniMax ────────────────────────────────────────────
459
482
  {
460
483
  id: "MiniMax-M3",