Development
yarn install # installs and rebuilds node-pty and better-sqlite3 for Electron
yarn dev # with hot reload
yarn test # unit tests (vitest)
yarn typecheck
yarn dist # packages the AppImage into release/
yarn dist:win # packages the Windows installer (must be run on Windows)
If your terminal defines ELECTRON_RUN_AS_NODE (some editors do), yarn dev already removes it for you.
src/
main/ main process (index.ts: window and IPC routes)
services/ the logic, one folder per topic:
agents/ detection, terminals (node-pty), task delegation (MCP server) and their launch
git/ git and the AI commit message
context/ project context, .tutti and its generation
usage/ usage and history of each agent
mcp/ agents' MCP
(and here: files, search, settings, updater)
utils/ message language, version, shell path, self-test
preload/ the secure bridge to the interface (window.api)
renderer/ React + Tailwind interface (features/ by topic, shared/ and zustand state)
shared/ shared types and texts (locales/es.json, en.json)
test/ tests (vitest) and capture.ts, the capture mode
resources/ app icon
scripts/ dev.mjs
Debug tools (environment variables)
| Variable | What it does |
|---|---|
TUTTI_MCP_LOG=1 |
Prints every request the MCP servers receive |
TUTTI_SELFTEST=1 |
Tests task delegation end to end with fake agents |
TUTTI_CAPTURE=<folder> |
Opens the app with isolated settings, walks through the screens and saves a capture of each |
TUTTI_CAPTURE_LANG=en · _LIGHT=1 · _INTERNAL=1 |
With capture: language, light theme and placing the window on the built-in screen |
TUTTI_CAPTURE_NEW · _TUTTI · _GRAPH · _DIFF=<file> · _MCP · _UPDATE |
With capture: adds those screens |
TUTTI_CAPTURE_REAL=1 |
Launches real agents (Claude Code) for the main image; spends tokens |
Publishing a release
- Bump
versioninpackage.jsonand add its## x.y.zsection toCHANGELOG.mdandCHANGELOG.en.md; commit. git tag vX.Y.Z && git push origin master vX.Y.Z.
GitHub Actions checks that the tag matches the version and that both changelogs mention it, runs types and tests, packages the AppImage and the Windows installer and creates the release (Tutti-X.Y.Z-x86_64.AppImage, latest-linux.yml, install.sh, Tutti-Setup-X.Y.Z.exe and latest.yml, which is what the updater reads). If the Windows build fails, the Linux one still goes out.
Credits
Tutti was built with the help of Claude (Anthropic) and Codex (OpenAI), which collaborated on the code, the tests, the screenshots and this documentation. Product decisions and the review of every change belong to the project’s maintainer.