@hxnnxs/opencode-voice 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 - 2026-08-16
4
+
5
+ ### Fixed
6
+
7
+ - Added the required no-op server export so the TUI plugin loads in OpenCode 1.18 and later.
8
+
3
9
  ## 0.2.0 - 2026-08-10
4
10
 
5
11
  ### Added
package/index.js CHANGED
@@ -961,6 +961,9 @@ function buildCommands(ctx) {
961
961
 
962
962
  const plugin = {
963
963
  id: PLUGIN_ID,
964
+ // OpenCode 1.18 validates every plugin module through its server contract,
965
+ // even when the plugin only contributes TUI commands.
966
+ server: async () => ({}),
964
967
  tui: async (api, options = {}) => {
965
968
  const runtime = new VoiceRuntime(options || {});
966
969
  const ctx = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hxnnxs/opencode-voice",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Local voice input plugin for OpenCode",
5
5
  "type": "module",
6
6
  "license": "MIT",