v0.5.0: Binary-Free Mode - No OpenCode binary required
✨ Major Features: - Native session management without OpenCode binary - Provider routing: OpenCode Zen (free), Qwen OAuth, Z.AI - Streaming chat with tool execution loop - Mode detection API (/api/meta/mode) - MCP integration fix (resolved infinite loading) - NomadArch Native option in UI with comparison info 🆓 Free Models (No API Key): - GPT-5 Nano (400K context) - Grok Code Fast 1 (256K context) - GLM-4.7 (205K context) - Doubao Seed Code (256K context) - Big Pickle (200K context) 📦 New Files: - session-store.ts: Native session persistence - native-sessions.ts: REST API for sessions - lite-mode.ts: UI mode detection client - native-sessions.ts (UI): SolidJS store 🔧 Updated: - All installers: Optional binary download - All launchers: Mode detection display - Binary selector: Added NomadArch Native option - README: Binary-Free Mode documentation
This commit is contained in:
@@ -28,6 +28,16 @@ if (isMac) {
|
||||
app.commandLine.appendSwitch("disable-spell-checking")
|
||||
}
|
||||
|
||||
// Windows: Use Edge WebView2 rendering for better performance
|
||||
if (process.platform === "win32") {
|
||||
app.commandLine.appendSwitch("enable-features", "WebViewTagWebComponent,WebView2")
|
||||
app.commandLine.appendSwitch("disable-gpu-sandbox")
|
||||
app.commandLine.appendSwitch("enable-gpu-rasterization")
|
||||
app.commandLine.appendSwitch("enable-zero-copy")
|
||||
app.commandLine.appendSwitch("disable-background-timer-throttling")
|
||||
app.commandLine.appendSwitch("disable-renderer-backgrounding")
|
||||
}
|
||||
|
||||
function getIconPath() {
|
||||
if (app.isPackaged) {
|
||||
return join(process.resourcesPath, "icon.png")
|
||||
|
||||
Reference in New Issue
Block a user