Changes from GLM 4.7 Progress Log: 1. Multi-task chat auto-scroll (multi-task-chat.tsx): - Added createEffect that monitors message count changes - Auto-scrolls using requestAnimationFrame + setTimeout(50ms) - Scrolls when new messages arrive or during streaming 2. Electron black screen fix (main.ts): - Added exponential backoff retry (1s, 2s, 4s, 8s, 16s max) - Added 30-second timeout for load operations - Added user-friendly error screen with retry button - Handles errno -3 network errors gracefully - Max 5 retry attempts before showing error
9c6d92efcd
·
2025-12-23 13:33:39 +04:00
History
CodeNomad App
This package contains the native desktop application shell for CodeNomad, built with Electron.
Overview
The Electron app wraps the CodeNomad UI and Server into a standalone executable. It provides deeper system integration, such as:
- Native window management
- Global keyboard shortcuts
- Application menu integration
Development
To run the Electron app in development mode:
npm run dev
This will start the renderer (UI) and the main process with hot reloading.
Building
To build the application for your current platform:
npm run build
To build for specific platforms (requires appropriate build tools):
- macOS:
npm run build:mac - Windows:
npm run build:win - Linux:
npm run build:linux
Structure
electron/main: Main process code (window creation, IPC).electron/preload: Preload scripts for secure bridge between main and renderer.electron/resources: Static assets like icons.