- Add main Dockerfile for production builds - Add Dockerfile.runtime for secure code execution - Add Dockerfile.runtime.fixed with improved configuration - Include .dockerignore for build optimization - Add integration documentation and publishing guides - Update API and CLI components for better runtime support - Enhance sandbox and container management features
71 lines
2.0 KiB
Markdown
71 lines
2.0 KiB
Markdown
# Hanzo Runtime Publishing Status
|
|
|
|
## Summary
|
|
|
|
The Hanzo Runtime has been successfully prepared and tested. All builds pass and the IAM integration is complete.
|
|
|
|
## Package Status
|
|
|
|
### ✅ Published to PyPI
|
|
- **hanzo-runtime** (0.7.0) - Successfully published
|
|
|
|
### 🔄 Built and Ready to Publish
|
|
|
|
#### Python Packages
|
|
- **hanzo_runtime_api_client** (0.7.0) - Built, needs valid PyPI token
|
|
- **hanzo_runtime_api_client_async** (0.7.0) - Built, needs valid PyPI token
|
|
|
|
#### NPM Packages
|
|
- **@hanzo/api-client** (0.7.0) - Built, requires OTP for npm publish
|
|
- **@hanzo/runner-api-client** (0.7.0) - Built, requires OTP for npm publish
|
|
- **@hanzo/runtime** (0.7.0) - Built, requires OTP for npm publish
|
|
|
|
## Issues Encountered
|
|
|
|
1. **PyPI Token**: The PYPI_TOKEN in ~/.zshrc appears to be invalid (403 error)
|
|
2. **NPM OTP**: NPM requires a one-time password for publishing
|
|
|
|
## To Complete Publishing
|
|
|
|
### For Python Packages:
|
|
```bash
|
|
# With valid PyPI token:
|
|
cd libs/api-client-python
|
|
python -m twine upload dist/* -u __token__ -p "YOUR_VALID_PYPI_TOKEN"
|
|
|
|
cd ../api-client-python-async
|
|
python -m twine upload dist/* -u __token__ -p "YOUR_VALID_PYPI_TOKEN"
|
|
```
|
|
|
|
### For NPM Packages:
|
|
```bash
|
|
# With OTP from authenticator:
|
|
cd libs/api-client
|
|
npm publish --access public --otp=123456
|
|
|
|
cd ../runner-api-client
|
|
npm publish --access public --otp=123456
|
|
|
|
cd ../sdk-typescript
|
|
npm publish --access public --otp=123456
|
|
```
|
|
|
|
## What Was Accomplished
|
|
|
|
1. ✅ Migrated from yarn to pnpm
|
|
2. ✅ Fixed all build issues after project rename
|
|
3. ✅ Created comprehensive IAM integration
|
|
4. ✅ All tests pass
|
|
5. ✅ All packages build successfully
|
|
6. ✅ Published hanzo-runtime to PyPI
|
|
7. ✅ Prepared all other packages for publishing
|
|
|
|
## Next Steps
|
|
|
|
1. Update PyPI token in ~/.zshrc with a valid token
|
|
2. Generate NPM OTP from your authenticator
|
|
3. Run the publish commands above
|
|
4. Deploy the dashboard with IAM integration
|
|
5. Configure Hanzo IAM for the Runtime application
|
|
|
|
All the hard work is done - just need valid credentials to complete the publishing! |