Accepted for implementation on 2026-07-10. The Highspeed carve-out was accepted on 2026-08-14.
The runtime currently treats every unknown, non-official GLM-family model as image-unsupported. The family test is intentionally broad and matches any normalized model ID containing glm.
That fallback is still required for canonical GLM models and other unknown GLM-family models, but it is too broad for versioned GLM-5.2 variants whose provider-visible model ID has an additional hyphen suffix.
The implementation must not contain private model IDs, private provider IDs, private base URLs, private suffix tokens, hashes of private identifiers, or obfuscated equivalents.
Keep the existing GLM-family detection and official-provider checks. Add one public structural exception for suffixed GLM-5.2 variants:
[1m] do not affect the decision.glm-5.2-<non-empty suffix> and glm-5.3-<non-empty suffix> as suffixed
variants. When image support is otherwise unknown, preserve the unknown capability state.glm-5.2-highspeed or
glm-5.3-highspeed case-insensitively, resolve supportsImages: false before the
generic suffix exception and official Anthropic media allowance.glm-5.2, including a local [1m] marker, continues to use the existing fallback.The structural matcher is equivalent to:
^glm-5\.(?:2|3)-.+$
except ^glm-5\.(?:2|3)-highspeed$
Source, tests, and documentation must use neutral semantic naming and must not name any private variant.
The existing precedence remains unchanged:
Therefore:
supportsImages: true remains image-capable.supportsImages: false remains image-unsupported, including for suffixed variants.Provider registry revisions may change a model capability from an explicit fact to unknown, including supportsImages: false -> undefined and supportsPdf: false -> undefined.
The active-session model-limit refresh patch must carry modelInputMediaCapabilities even when the resolved value is undefined. AgentRuntime.updateConfig(...) uses property presence to distinguish "clear the old value" from "leave the old value unchanged"; omitting the property would retain stale text-only capabilities and continue stripping media after the registry fact was removed.
This is an in-process runtime refresh rule only. It does not change the provider registry schema, capability precedence, persisted configuration, or the media projection behavior for explicit true and false facts.
| Input model ID | Unknown, non-official provider result |
|---|---|
glm-5.2 |
supportsImages: false |
vendor/glm-5.2 |
supportsImages: false |
glm-5.2[1m] |
supportsImages: false |
glm-5.2-[1m] |
supportsImages: false |
glm-5.2-variant |
capability remains unknown |
vendor/glm-5.2-variant |
capability remains unknown |
glm-5.2-variant[1m] |
capability remains unknown |
glm-5.2-highspeed |
supportsImages: false |
vendor/GLM-5.2-Highspeed[1m] |
supportsImages: false |
glm-5.2-highspeed-plus |
capability remains unknown |
vendor/GLM-5.3-Highspeed |
supportsImages: false |
glm-5.2-variant/other-model |
supportsImages: false |
glm-5.1 |
supportsImages: false |
private-glm-next |
supportsImages: false |
Leaving the capability unknown prevents only the capability projection from stripping images. The subsequent media-budget projection may omit historical media or reject oversized current media before any provider request; only retained media reaches the provider.
Implementation is limited to:
apps/zcode-cli/packages/bootstrap/src/app/model-input-capabilities.ts.apps/zcode-cli/packages/bootstrap/tests/model-selection.test.ts.apps/zcode-cli/packages/bootstrap/src/zcode-protocol/workspace-model-catalog.ts.apps/zcode-cli/packages/bootstrap/tests/zcode-protocol.test.ts.No protocol schema, provider registry shape, persistent provider configuration, model reasoning policy, context-window policy, adapter request format, desktop/mobile delivery boundary, or remote-control ownership behavior changes.
Desktop continuous and web-remote replayable clients share the same attached host runtime decision, so no client-mode-specific branch is introduced.
Focused tests must prove:
GLM-5.2 remains image-unsupported for an unknown non-official provider.vendor/GLM-5.2 remains image-unsupported.GLM-5.2-variant remains unknown.[1m] suffixed variants remain unknown after normalization.GLM-5.2[1m] and GLM-5.2-[1m] remain image-unsupported.GLM-5.2-variant/other-model does not trigger the exception.GLM-5.1 and private-glm-next family behavior remains image-unsupported.supportsImages: true and supportsImages: false continue to override fallback behavior.false facts when a newer provider registry revision leaves both capabilities unknown.-highspeed variants for GLM-5.2 and GLM-5.3 are
image-unsupported case-insensitively, including after local suffix normalization.-highspeed-plus remain unknown.The existing provider-visible explicit text-only GLM-5.2 image-strip E2E remains valid for downstream media projection. The unknown provider-aware fallback and normalization boundary are covered by bootstrap unit tests, so a new E2E is not required.
highspeed as known text-only variants.