cadive
v1.0.0
Published
CADIVE desktop — Home (chat) + Cadive Code, with an embedded browser CADIVE can drive. Install globally: npm i -g cadive, then run: cadive
Readme
CADIVE desktop (Dive-App)
A native Windows app (Electron) with two modes, mirroring the Claude-app shape:
- Home — the full dive chat (loads
https://www.cadive.net/dive/; your login persists). - Cadive Code — open a local folder, browse/edit files, live-preview HTML/SVG, and an embedded browser CADIVE can drive (navigate, read, click, type) — not just open links.
Run it (dev)
cd desktop
npm install
npm startBuild a real .exe
npm run dist # NSIS installer + portable .exe in desktop/dist/
# or: npm run dist:portable # single portable .exeThe build is unsigned — that's fine. On first launch Windows SmartScreen shows “More info → Run anyway”. No paid code-signing cert needed to share with classmates.
Architecture
main.js— window + vetted filesystem IPC (reads/writes are sandboxed to the folder you open).preload.js— exposes onlywindow.cadive.{openFolder,list,read,write,openExternal}.renderer/index.html— the whole UI (Home webview + Code panes + embedded<webview>browser).
Where the agent plugs in (next)
The embedded browser already exposes a tool surface on window.brzControl:
navigate(q), readText(), click(sel), type(sel,text), currentUrl().
The next step is the Cadive Code agent loop: the model receives these as tools plus the
file APIs, so it can search the web, read a page, edit files, and preview — autonomously.
That loop runs against the same /ai/api/chat worker (tool-calling), so no new backend.
Notes
- Auto sign-in: Home uses a persistent Electron session (
partition="persist:cadive"), so you log in once and it sticks — no login screen every launch. - Requires Node (already installed). No Rust/MSVC toolchain needed (that's why Electron, not Tauri).
