- Add FullPackagePath, FullPackageSize, FullPackageHash to Version model
- When uploading patch, merge with base full package to create new full package
- Check update API returns full package info for download
- Add package_util.go with merge functions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
If client doesn't provide version parameter, return latest version info
instead of returning error
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Only device_id without instance_id returns error
- Three valid combinations:
- device_id + instance_id: clear specific instance
- only instance_id: clear instance across devices
- no params: clear all instances
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Remove device deletion on logout
- Only delete DeviceSession records
- Support clearing specific instance or all instances
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Logout: clear device sessions on logout
- User info: return expiry/balance based on billing type
- Avatar upload: support jpg/png/gif/webp, max 2MB
- App tickets: create, reply, close tickets for app users
- Add ClosedAt field to Ticket model
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Return expiry_at for subscription mode
- Return balance for usage-based mode
- Return is_permanent for permanent members
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Remove duplicate 'v' prefix in version display
- Add version string cleanup (trim spaces, remove v/V prefix)
- Use custom download URL when set
- Fix has_update logic for same version comparison
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add complete API documentation for application integration (docs/API_DOCUMENT.md)
- Fix check-update API to use version ID comparison instead of string comparison
- Add validation: client version must exist in server version list
- Add support for patch/incremental updates with base_version check
- Add C++ SDK with HTTP client, JSON parser, and crypto support
- Add simple_test.cpp for standalone testing on Windows
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>