You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add version sync detection between npm package and Docker image (#133)
* feat: Add version sync detection between npm package and Docker image
Implements automatic detection of version mismatches between the npm
package and Docker container image to prevent compatibility issues.
Changes:
- Embed SANDBOX_VERSION as environment variable in Docker image
- Add /api/version endpoint to container server
- Add getVersion() method to UtilityClient with backward compatibility
- Implement automatic version checking on sandbox startup
- Log warnings when versions don't match
- Add comprehensive test coverage for new functionality
The version check runs asynchronously on sandbox startup and logs
warnings for mismatches. Backward compatibility is maintained - old
containers without the version endpoint return 'unknown' gracefully.
Fixes#131
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Naresh <ghostwriternr@users.noreply.github.com>
* Add version sync detection for npm and Docker
Implement version synchronization detection for npm packages and Docker images.
* Update SANDBOX_VERSION in changeset-version
* Fix type issues
* Bump version
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Naresh <ghostwriternr@users.noreply.github.com>
0 commit comments