opencode/packages/shared/src
Dax Raad 25a9de301a core: eager load config on startup for better traces and refactor npm install for improved error reporting
Config is now loaded eagerly during project bootstrap so users can see config loading in traces during startup. This helps diagnose configuration issues earlier in the initialization flow.

NPM installation logic has been refactored with a unified reify function and improved InstallFailedError that includes both the packages being installed and the target directory. This provides users with complete context when package installations fail, making it easier to identify which dependency or project directory caused the issue.
2026-04-16 16:23:19 -04:00
..
util CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
filesystem.ts shared package (#22626) 2026-04-15 14:26:20 +00:00
global.ts migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00
npm.ts core: eager load config on startup for better traces and refactor npm install for improved error reporting 2026-04-16 16:23:19 -04:00
types.d.ts migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00