refactor(providers): clean up config structure and update PackyCode domain

- Remove redundant 'config' field from Claude default configuration
  * Align with SSOT architecture where Claude only requires 'env' field
  * Matches the actual structure used in settings.json

- Update PackyCode provider configuration
  * Migrate domain: packycode.com → packyapi.com
  * Update API endpoints to new domain structure
  * Update load balancer endpoint: api-slb.packycode.com → api-slb.packyapi.com
This commit is contained in:
Jason
2025-10-30 09:04:11 +08:00
parent 08f480ec94
commit ead65d82ad
2 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ import {
useCodexTomlValidation,
} from "./hooks";
const CLAUDE_DEFAULT_CONFIG = JSON.stringify({ env: {}, config: {} }, null, 2);
const CLAUDE_DEFAULT_CONFIG = JSON.stringify({ env: {} }, null, 2);
const CODEX_DEFAULT_CONFIG = JSON.stringify({ auth: {}, config: "" }, null, 2);
type PresetEntry = {