@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 +6 -0
- package/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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 = {
|