mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
When running with tsx in dev mode, jiti loads extensions in a separate module cache. This caused the theme to be undefined in jiti's copy of theme.ts since initTheme() was only called on tsx's copy. Using globalThis with Symbol.for() ensures all module instances share the same theme, regardless of which loader created them. |
||
|---|---|---|
| .. | ||
| agent | ||
| ai | ||
| coding-agent | ||
| mom | ||
| pods | ||
| tui | ||
| web-ui | ||