- • SDK Client: 5-layer system prompt, permission bridge, agent/MCP loader
- • IM Bridge: 3 adapters (Feishu/Telegram/Discord), policy engine, dedup
- • Cron Engine: 60s scheduler, heartbeat, run-agent/skill/prompt actions
- • Multi-provider AI: 6 providers via Anthropic-compatible protocol
- • SQLite (better-sqlite3, WAL mode) at ~/.forge/forge.db
- • 15+ tables with auto-migration on startup
- • File-based config: .claude/ dirs per workspace
- • Marketplace templates, uploads, daily memory files
- • Electron 40 shell with IPC bridge (contextBridge)
- • Next.js standalone server spawned on random port
- • SSE for real-time chat + IM event streaming
- • File watch, clipboard, shell operations via preload