opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(bun): guard against missing keys in cache manifest

Open chrisolszewski opened this issue 1 week ago • 1 comments

Ran into this crash locally while developing a plugin and modifying dependencies/dev-dependencies.

The cached package.json can be valid but missing the dependencies key (e.g. if it only has devDependencies). This ensures we default to {} to prevent the TypeError.

chrisolszewski avatar Jan 08 '26 17:01 chrisolszewski