mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
067e96689a
Console gateway URL and action are now resolved from a region + site mapping table instead of a single hardcoded config value. Supports cn-beijing and ap-southeast-1 with domestic/international site variants. - Add ConsoleSite type, REGION_GATEWAYS mapping, and resolveGateway() - Add switchAgent to cornerstoneParam for delegated access - Add console_site, console_region, console_switch_agent to config - Remove consoleGatewayUrl from Config (replaced by region+site resolution) - login-console callback now persists baseUrl, site, region, switchAgent - bl console call gains --site and --switch-agent flags - All callers delegate region default to callConsoleGateway (no more hardcoded cn-beijing) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>