# Changelog

## [0.1.121] - 2025-11-16

### Added
- **Programmatic Close API**: New `showMessageBoxEx()` returns handle with `.close()` method
- **Close by PID**: New `closeMessageBox(pid)` standalone function
- **MessageBoxHandle class**: Track dialog lifecycle with `.pid`, `.result`, `.close()`, `.closed`
- Test suite for close API in `tests/` directory
- Complete API documentation in CLOSE-API.md

### Changed
- Refactored shower.ts with handle-based architecture
- Updated README.md with programmatic close examples
- Enhanced MessageBoxResult to include `closed` flag for programmatic closure

### Fixed
- Handle null exit codes when process killed programmatically
- Active dialog registry with auto-cleanup on close

## [0.1.120] - 2025-11-16

### Added
- Initial release tracking

