Dea DardanicaDocumentation

Run Dea from source

This page is for maintainers and contributors who have access to Dea's private source repository. For ordinary installation, use the packaged downloads. Documentation sources live with the app so product changes can update the docs in the same review.

Install and run#

Use Node.js 24 and the native build prerequisites for your operating system:

The clone command requires repository access and GitHub authentication. It is not required to use the packaged app or this public documentation.

sh
git clone https://github.com/neonn0d/dea.git
cd dea
npm ci
npm start

Installation rebuilds node-pty for Electron. If the rebuild was skipped, run:

sh
npx electron-rebuild -f -w node-pty

The app includes a single-instance guard. A second normal launch focuses the running instance, so quit the installed app when you intend to run the source build as your normal instance.

Checks and packaging#

sh
npm test
npm run test:stability

The first command runs unit and consistency checks. Stability tests exercise the desktop app under Electron using isolated fixtures; they need the relevant display/runtime dependencies.

Package using npm run dist for Linux, npm run dist:mac for macOS, or npm run dist:win for Windows. Native dependencies and signing requirements vary by target platform.

Linux developers can use scripts/install-local.sh --build to install an unpacked local build. Run that installer from a terminal outside Dea: it quits the running app during installation.

Maintain public documentation#

Edit Markdown pages and their navigation metadata under docs/public/. Tool examples and result explanations live in tool-guides.json. The exporter derives descriptions and input schemas from the actual MCP registrations, including common tab and iframe parameters.

sh
npm run docs:update
npm run docs:check

Update regenerates the catalog. Check rejects stale schemas, missing examples, removed tools, and examples that do not match their input schemas. It does not prove that every prose statement remains correct; review changed behavior and result descriptions alongside the code.

In the website repository, sync the checked-out app sources and rebuild:

sh
npm run docs:sync -- ../dea
npm run build
npm test

Use your actual app-checkout path. This updates one content snapshot, then generates HTML, Markdown, the JSON tool catalog, search data, the sitemap, llms.txt, and llms-full.txt together. Do not hand-edit the generated versions.

The website has a documentation synchronization workflow for checking the app's published default branch and preparing an update pull request. Source changes must reach that branch before the workflow can consume them. Publishing remains the website repository's existing hosting workflow.