A desktop app that contains the Fractal Synapse agent.
- TypeScript 90.5%
- JavaScript 8.4%
- CSS 1%
- HTML 0.1%
Switch useTurnActivity to read currentTurnTotals for per-turn numbers. Guard handleUsageStep with isLoadingRef to prevent zeroed overwrites. Attach turnSummary to renderer messages in onUsageUpdate so history renders its own TurnActivityIndicator after turn ends. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| src | ||
| tests | ||
| .gitignore | ||
| forge.config.js | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.js | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.main.json | ||
| tsconfig.node.json | ||
| tsconfig.preload.json | ||
| vite.config.ts | ||
agent-desktop
A desktop app that contains the Fractal Synapse agent.
Development
npm run dev # Start development server with hot reload
npm run build # Build the application for testing/production
Testing
The app uses Playwright for UI testing of the Electron application.
npm test # Run tests headless
npm run test:headed # Run tests with visible browser window
npm run test:debug # Run tests in debug mode (step through)
npm run test:ui # Run tests with interactive UI mode
Test artifacts are organized under the tests/ directory:
tests/reports/- HTML test reportstests/screenshots/- Test screenshots for verificationtests/test-results/- Test execution artifacts
Build
The forge.config.js file contains the electron build configuration. It will build multiple version of the app for all the configured targets like Windows, Mac and Linux. To build the distributable executables run the following command:
npm run make
The make command will build the various app version to the out/ folder.