Skip to content

Commit eb22712

Browse files
committed
chore(release): bump version to 1.4.0 and add changelog
- Bump version from 1.3.3 to 1.4.0 in package.json - Upgrade @elevenlabs/elevenlabs-js to ^2.52.0 - Upgrade detect-terminal to ^3.0.0 - Upgrade msedge-tts to ^2.0.5 - Upgrade @opencode-ai/plugin peer dependency to ^1.17.3 - Upgrade @types/node to ^22.19.21, bun-types to ^1.3.14, typescript to ^6.0.3 - Add CHANGELOG.md documenting all v1.4.0 features and improvements
1 parent 2e6a2cc commit eb22712

2 files changed

Lines changed: 46 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.4.0] - 2026-06-11
9+
10+
A compatibility and polish release. Adds full OpenCode SDK v1/v2 client shape support, voice caching, VS Code focus detection, config hot-reload, and brings all dependencies up to date.
11+
12+
### Added
13+
14+
- **Voice caching** — TTS audio can now be cached to disk (`enableVoiceCache`, `voiceCacheDir`, `voiceCacheMaxSizeMB`) to avoid redundant synthesis for repeated messages.
15+
- **VS Code focus detection** — Focus detection now recognises VS Code, VS Code Insiders, and VSCodium across Windows, macOS, and Linux, suppressing notifications when the integrated terminal is focused.
16+
- **Config hot-reload** — The plugin detects changes to `smart-voice-notify.jsonc` via file signature (mtime + size) and refreshes configuration without requiring a restart.
17+
- **OpenCode SDK v2 client shape support**`session.get` and `tui.showToast` now auto-detect v1/v2 API shapes and fall back gracefully, ensuring compatibility with both `@opencode-ai/plugin` v1.x and v2.x surfaces.
18+
- **Expanded `Session` and `TUIToastPayload` types** — SDK types now cover `slug`, `workspaceID`, `path`, `agent`, `model`, `cost`, `tokens`, `share`, and toast `directory`/`workspace` fields present in newer SDK versions.
19+
20+
### Changed
21+
22+
- **Version bumped** from `1.3.3` to `1.4.0`.
23+
- **Dependencies updated**:
24+
- `@elevenlabs/elevenlabs-js``^2.52.0`
25+
- `detect-terminal``^3.0.0`
26+
- `msedge-tts``^2.0.5`
27+
- `@types/node``^22.19.21`
28+
- `bun-types``^1.3.14`
29+
- `typescript``^6.0.3`
30+
- **TypeScript 6 compatibility** — Added `"ignoreDeprecations": "6.0"` to `tsconfig.json` to silence the `baseUrl` deprecation introduced in TypeScript 6.0 without changing build behaviour.
31+
- **`.gitignore` rewrite** — Comprehensive coverage for node_modules, OS artifacts, IDE/editor files, logs, caches, temp, coverage, build output, and local environment files. `bun.lock` is no longer ignored so lockfiles can be tracked for reproducible installs.
32+
- **Permission/question batch windows** are now read dynamically from config (`getPermissionBatchWindowMs()` / `getQuestionBatchWindowMs()`) instead of captured once at startup.
33+
- **README** — Added section clarifying OpenCode's built-in notifications vs. this plugin's capabilities; updated SDK version references to v1/v2 terminology.
34+
35+
### Housekeeping
36+
37+
- **Test files renamed** — Removed `issue-` prefixes from three test files: `voice-caching.test.ts`, `vscode-focus.test.ts`, `performance-regression.test.ts`. No functional changes; all 747 tests continue to pass.
38+
- **Lockfile regenerated** with updated dependency versions.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-smart-voice-notify",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "Smart voice notification plugin for OpenCode with multiple TTS engines (ElevenLabs, Edge TTS, Windows SAPI), AI-generated dynamic messages, and intelligent reminder system",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -50,18 +50,18 @@
5050
"bun": ">=1.0.0"
5151
},
5252
"dependencies": {
53-
"@elevenlabs/elevenlabs-js": "^2.36.0",
54-
"detect-terminal": "^2.0.0",
55-
"msedge-tts": "^2.0.4",
53+
"@elevenlabs/elevenlabs-js": "^2.52.0",
54+
"detect-terminal": "^3.0.0",
55+
"msedge-tts": "^2.0.5",
5656
"node-notifier": "^10.0.1"
5757
},
5858
"peerDependencies": {
59-
"@opencode-ai/plugin": "^1.1.8"
59+
"@opencode-ai/plugin": "^1.17.3"
6060
},
6161
"devDependencies": {
62-
"@types/node": "^20.19.33",
62+
"@types/node": "^22.19.21",
6363
"@types/node-notifier": "^8.0.5",
64-
"bun-types": "^1.3.9",
65-
"typescript": "^5.9.3"
64+
"bun-types": "^1.3.14",
65+
"typescript": "^6.0.3"
6666
}
6767
}

0 commit comments

Comments
 (0)