v1.3.3
Major Release: JavaScript to TypeScript Migration
This is a significant milestone release that migrates the entire codebase from JavaScript to TypeScript. This migration brings:
- Type Safety: Catch errors at compile time instead of runtime
- Better IDE Support: Improved autocomplete, refactoring, and navigation
- Enhanced Maintainability: Self-documenting code with explicit types
- Fewer Bugs: Static analysis catches common mistakes before they reach production
The migration includes full type definitions, strict TypeScript configuration, and comprehensive test coverage (672 tests, 88.99% line coverage).
What's Changed
Features
- feat: add fallback notifications when session API fails (90f306b)
- feat: add Windows and Linux focus detection (da5908f)
- feat: add TypeScript type definitions for plugin architecture (173b351)
Bug Fixes
- fix: change suppressWhenFocused default to false and remove IDEs from terminal lists (f998746)
- fix: detect minimized and hidden windows properly (da8f768)
- fix: prevent sub-agent completions from triggering notifications (96779f6)
Documentation
- docs(config): synchronize example config descriptions and add inline documentation (b46fc73)
- docs(config): update focus detection and Edge TTS documentation comments (1dcf1a5)
- docs: update documentation for cross-platform focus detection (948694c)
Maintenance
- test(config): add unit tests for config update logic (fe62cd5)
- chore(revert): revert version to 1.3.3 (45c5736)
- chore: bump version to 1.3.4 (cf3c2b8)
- test: add unit tests for sub-session filtering and caching (f4d1a88)
- chore: remove legacy JavaScript source files (25e25c8)
- test: convert all tests to TypeScript (10598ad)
- refactor: convert main plugin entry point to TypeScript (3875e02)
- refactor: convert utility modules to TypeScript (c8f2458)
- chore: add TypeScript configuration and build setup (197a056)
Installation
Add to your OpenCode config (~/.config/opencode/opencode.json):
{
"plugin": ["opencode-smart-voice-notify@1.3.3"]
}Or install from GitHub:
{
"plugin": ["github:MasuRii/opencode-smart-voice-notify#v1.3.3"]
}Full Changelog: v1.3.2...v1.3.3