feat: enhance after-pack script to copy OpenClaw runtime dependencies
- 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.
This commit is contained in:
5
electron/gateway/config-sync.ts
Normal file
5
electron/gateway/config-sync.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { syncBrowserConfigToOpenClaw } from '@electron/utils/openclaw-auth';
|
||||
|
||||
export async function syncGatewayConfigBeforeLaunch(): Promise<void> {
|
||||
await syncBrowserConfigToOpenClaw();
|
||||
}
|
||||
Reference in New Issue
Block a user