v0.5.0: NomadArch - Binary-Free Mode Release
Some checks failed
Release Binaries / release (push) Has been cancelled
Some checks failed
Release Binaries / release (push) Has been cancelled
Features: - Binary-Free Mode: No OpenCode binary required - NomadArch Native mode with free Zen models - Native session management - Provider routing (Zen, Qwen, Z.AI) - Fixed MCP connection with explicit connectAll() - Updated installers and launchers for all platforms - UI binary selector with Native option Free Models Available: - 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)
This commit is contained in:
24
packages/electron-app/electron/preload/index.cjs
Normal file
24
packages/electron-app/electron/preload/index.cjs
Normal file
@@ -0,0 +1,24 @@
|
||||
const { contextBridge, ipcRenderer } = require("electron")
|
||||
|
||||
const electronAPI = {
|
||||
onCliStatus: (callback) => {
|
||||
ipcRenderer.on("cli:status", (_, data) => callback(data))
|
||||
return () => ipcRenderer.removeAllListeners("cli:status")
|
||||
},
|
||||
onCliError: (callback) => {
|
||||
ipcRenderer.on("cli:error", (_, data) => callback(data))
|
||||
return () => ipcRenderer.removeAllListeners("cli:error")
|
||||
},
|
||||
getCliStatus: () => ipcRenderer.invoke("cli:getStatus"),
|
||||
restartCli: () => ipcRenderer.invoke("cli:restart"),
|
||||
openDialog: (options) => ipcRenderer.invoke("dialog:open", options),
|
||||
listUsers: () => ipcRenderer.invoke("users:list"),
|
||||
getActiveUser: () => ipcRenderer.invoke("users:active"),
|
||||
createUser: (payload) => ipcRenderer.invoke("users:create", payload),
|
||||
updateUser: (payload) => ipcRenderer.invoke("users:update", payload),
|
||||
deleteUser: (payload) => ipcRenderer.invoke("users:delete", payload),
|
||||
createGuest: () => ipcRenderer.invoke("users:createGuest"),
|
||||
loginUser: (payload) => ipcRenderer.invoke("users:login", payload),
|
||||
}
|
||||
|
||||
contextBridge.exposeInMainWorld("electronAPI", electronAPI)
|
||||
Reference in New Issue
Block a user