- Added a new script `bundle-openclaw.mjs` to bundle OpenClaw runtime dependencies. - Updated `after-pack.cjs` to copy bundled OpenClaw runtime and its node_modules. - Improved cleanup of unnecessary development files in node_modules. - Adjusted paths for resources in the packaging process. style: update loading indicator styles in ChatHistoryPanel - Changed the border radius and padding for the loading indicator in ChatHistoryPanel. fix: improve ProvidersSection to handle provider account syncing - Added logic to sync model configuration to provider accounts. - Introduced error handling and loading states during the sync process. - Enhanced vendor resolution and account management logic. fix: fallback session handling in chat store - Implemented fallback session logic in loadSessions to ensure a valid session is always available on error.
6 lines
190 B
TypeScript
6 lines
190 B
TypeScript
import { syncBrowserConfigToOpenClaw } from '@electron/utils/openclaw-auth';
|
|
|
|
export async function syncGatewayConfigBeforeLaunch(): Promise<void> {
|
|
await syncBrowserConfigToOpenClaw();
|
|
}
|