mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-20 09:03:50 +00:00
SwiftBar/xbar launch plugins with a minimal environment. If an older system Node (e.g. v18.x from Homebrew) appears earlier on PATH than the NVM-managed Node used to install codeburn, the plugin silently fails because string-width uses the /v regex flag (requires Node >= 20.11). Resolve the node binary directory at install time via process.execPath and prepend it to PATH in the generated plugin script. Also explicitly set HOME, which SwiftBar does not always inherit. Fixes #63 |
||
|---|---|---|
| .. | ||
| providers | ||
| bash-utils.ts | ||
| classifier.ts | ||
| cli.ts | ||
| config.ts | ||
| context-budget.ts | ||
| currency.ts | ||
| cursor-cache.ts | ||
| dashboard.tsx | ||
| export.ts | ||
| format.ts | ||
| menubar.ts | ||
| models.ts | ||
| optimize.ts | ||
| parser.ts | ||
| sqlite.ts | ||
| types.ts | ||