Rechercher

PythonReactSEOPDF
GitHub Skill

electron-main

Electron main process patterns for Aegis. CJS modules, platform abstraction, IPC, file watchers. Use when editing src/main/ files.

antropos17☆ 90 Étoiles du dépôt16 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Electron Main Process

Architecture

  • 23 CJS modules loaded directly by Node.js (NO build step)
  • Platform dispatcher: src/main/platform/index.js → win32|darwin|linux
  • IPC: 43 invoke + 6 push channels, scan-batch consolidation
  • File watcher: chokidar 3.6, function-form ignored (NOT glob)

Rules

  • require() / module.exports only
  • JSDoc annotations with types from src/shared/types/
  • Stay .js until P5-C (tsc build step)
  • Staggered startup: 3/8/12s intervals
  • Stats-update batcher: 1000ms debounce

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-03-11
Mise à jour de l’index
2026-03-11
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!