BigModel API traffic should follow the selected product environment without changing non-API links.
ZCODE_ENV=production uses https://bigmodel.cn for BigModel API requests.ZCODE_ENV=test uses https://bigmodel.cn for BigModel API requests.BIGMODEL_API_BASE_URL may override the selected API origin for local debugging.BIGMODEL_TEST_API_BASE_URL and BIGMODEL_PRODUCTION_API_BASE_URL are scoped
overrides, following the same pattern as Z.ai test/production endpoint config./login, so ZCODE_ENV=test opens https://bigmodel.cn/login.open.bigmodel.cn
are not changed by this environment switch.packages/shared/src/zcodeEndpoint.ts; service-side OAuth and provider code should
pass runtime env into that resolver instead of reading compiled globals./api/biz./api/monitor./api/biz/customer.