multi-project-gateway 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/cli.js +1532 -93
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -434,6 +434,8 @@ Open `http://localhost:3100/` to view the dashboard, which shows:
|
|
|
434
434
|
|
|
435
435
|
## Architecture
|
|
436
436
|
|
|
437
|
+
For detailed architecture documentation — message lifecycle, session management, agent dispatch, security boundaries, and extension points — see [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
|
|
438
|
+
|
|
437
439
|
| Module | Responsibility |
|
|
438
440
|
|--------|---------------|
|
|
439
441
|
| `src/cli.ts` | CLI entry point — `mpg start`, `mpg init`, `mpg status` |
|
|
@@ -451,7 +453,7 @@ Open `http://localhost:3100/` to view the dashboard, which shows:
|
|
|
451
453
|
| `src/persona-presets.ts` | Built-in persona library (PM, engineer, etc.) for agent shorthand config |
|
|
452
454
|
| `src/role-check.ts` | Checks Discord member roles against `allowedRoles` |
|
|
453
455
|
| `src/rate-limiter.ts` | Per-user rate limiting (sliding window) |
|
|
454
|
-
| `src/
|
|
456
|
+
| `src/dashboard-server.ts` | Web dashboard and REST API (`/health`, `/api/sessions`, `/api/projects`, `/api/status`) |
|
|
455
457
|
| `src/logger.ts` | Structured logger with level filtering and JSON output |
|
|
456
458
|
| `src/discord.ts` | Discord.js client, message routing, agent handoff loop, response chunking |
|
|
457
459
|
|