| 1 | //! `spectra`: the control plane for AI coding agents. |
| 2 | //! |
| 3 | //! Command definitions and dispatch live in `cli`; each command group has |
| 4 | //! its own module there, as in `oxy`. |
| 5 | |
| 6 | |
| 7 | |
| 8 | // Many small allocations from every thread (events, JSON, templates): mimalloc |
| 9 | // serves them from per-thread pages without the arena locks of glibc's. |
| 10 | |
| 11 | static ALLOC: MiMalloc = MiMalloc; |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |