You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: ZCode 3.14 integration writes provider_config.json entry without access.type — ZodError discards all personal providers (no models available) #5861
After enabling the managed ZCode integration, ZCode lists no models at all — including the pre-existing personal providers that worked before.
The managed entry OpenCodex writes into ~/.zcode/v2/provider_config.json stores its key under config.accesswithout the type discriminator. ZCode validates access as a union on type (api-key | zhipu-coding-plan-api-key | zhipu-account); a single invalid entry fails validation of the whole personal-provider document, so ZCode keeps the file on disk but degrades to an empty in-memory config. Every personal provider disappears from the model picker.
Reproduction
Have ZCode 3.14 working with personal providers in ~/.zcode/v2/provider_config.json (entries shaped "access": { "type": "api-key", "apiKey": "..." }).
Run ocx integration client enable --client zcode (2.65.0), or toggle the ZCode integration in the dashboard.
Restart ZCode and open the model picker -> no models.
Activity
lidge-jun commentedon Sep 26, 2026
Fixed on
devby #5889, carried in #5901 (merge dd1e327). It ships with the next release.fix(clients): include access.type in ZCode provider_config.json export (