094bcc8ef2
When users switch opencode.json from pinned version to tag (e.g., 3.10.0 -> @latest), the cache package.json still contains the pinned version. This causes bun install to reinstall the old version instead of resolving the new tag. This adds syncCachePackageJsonToIntent() which updates the cache package.json to match the user's declared intent in opencode.json before running bun install. Also fixes mock.module in test files to include all exported constants, preventing module pollution across parallel tests.