Refactor: delete dead code, extract utils, rename files for clarity

- Delete scheduler-mcp.ts (285 lines of dead code, unused)
- Extract loadJson/saveJson to utils.ts (generic utilities)
- Rename auth.ts → whatsapp-auth.ts (more specific)
- Rename scheduler.ts → task-scheduler.ts (more specific)
- Update all references in docs and imports

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-02-01 17:35:03 +02:00
parent 847032d41e
commit 17e7b469f4
10 changed files with 28 additions and 308 deletions

View File

@@ -120,7 +120,7 @@ Single Node.js process. Agents execute in isolated Linux containers with mounted
Key files:
- `src/index.ts` - Main app: WhatsApp connection, routing, IPC
- `src/container-runner.ts` - Spawns agent containers
- `src/scheduler.ts` - Runs scheduled tasks
- `src/task-scheduler.ts` - Runs scheduled tasks
- `src/db.ts` - SQLite operations
- `groups/*/CLAUDE.md` - Per-group memory