- Replace msgpack/gzip download with ZIP file download - Add loadFromZip() method to extract and process ZIP deployments - Maintain backward compatibility with legacy msgpack/gzip deployments - Add proper file loading with binary/text detection - Update has_gz() to check for both .zip and .gz files - Clean up extracted directories after processing New ZIP deployment workflow: 1. Download ZIP file instead of gzipped msgpack data 2. Extract ZIP to temporary directory 3. Load metadata.json for site configuration 4. Load files from public/, server/, site/, core/ directories 5. Set up deploy content structure compatible with existing code 6. Clean up temporary files Benefits: - No more buffer overflow issues with large deployments - Better file organization in ZIP structure - Easier debugging with extractable files - Maintains full compatibility with existing deployment system - Supports both new ZIP and legacy msgpack formats 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| server | ||
| utils | ||
| zip | ||
| docker-prep.ts | ||
| empty_bundle.sqlite | ||
| index.ts | ||
| package.json | ||
| prod.ts | ||
| upgrade.ts | ||