xworkmate-app/config/settings.yaml
Haitao Pan 08665cf528 refactor(bridge): implement Single Source of Truth for bridge config and fix login persistence
- Refactor bridge configuration to resolve co-existing Manual and Cloud sources into a single persistent 'effective' state
- Implement deterministic priority resolution: Manual Bridge > Cloud Sync > Default Fallback
- Fix login issues by preserving account base URL and identifier during sync and session restoration
- Streamline config/settings.yaml by removing redundant fields and adopting YAML format
- Update documentation with new architecture guide for bridge-cloud coexistence and priority logic
- Verify functional connectivity for codex, gemini, opencode, and openclaw bridge services
2026-04-19 12:22:02 +08:00

33 lines
821 B
YAML

schemaVersion: 2
appLanguage: zh
workspacePath: ''
cliPath: openclaw
defaultProvider: gateway
accountBaseUrl: https://accounts.svc.plus
accountUsername: ''
acpBridgeServerModeConfig:
effective:
endpoint: https://xworkmate-bridge.svc.plus
tokenRef: bridge.auth_token
source: cloud
reason: Synced cloud configuration from svc.plus is active
cloudSynced:
accountBaseUrl: https://accounts.svc.plus
accountIdentifier: ''
lastSyncAt: 0
remoteServerSummary:
endpoint: https://xworkmate-bridge.svc.plus
hasAdvancedOverrides: false
selfHosted:
serverUrl: ''
username: ''
passwordRef: acp_bridge_server_password
gatewayProfiles:
- mode: unconfigured
useSetupCode: false
host: ''
port: 443
tls: true
tokenRef: gateway_token_0
passwordRef: gateway_password_0