opencode-voice2text 0.1.3 → 0.1.5
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/README.md +8 -12
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -59,28 +59,24 @@ opencode plugin opencode-voice2text@latest
|
|
|
59
59
|
|
|
60
60
|
## TUI config
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
The installer writes a default TUI plugin entry for you with:
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
- `commandKeybind: "ctrl+s"`
|
|
65
|
+
|
|
66
|
+
You still need to make sure `terminal_suspend` does not conflict with `Ctrl+S`.
|
|
67
|
+
|
|
68
|
+
Recommended `~/.config/opencode/tui.json`:
|
|
65
69
|
|
|
66
70
|
```json
|
|
67
71
|
{
|
|
68
72
|
"$schema": "https://opencode.ai/tui.json",
|
|
69
73
|
"keybinds": {
|
|
70
74
|
"terminal_suspend": "none"
|
|
71
|
-
}
|
|
72
|
-
"plugin": [
|
|
73
|
-
[
|
|
74
|
-
"opencode-voice2text",
|
|
75
|
-
{
|
|
76
|
-
"commandKeybind": "ctrl+s"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
]
|
|
75
|
+
}
|
|
80
76
|
}
|
|
81
77
|
```
|
|
82
78
|
|
|
83
|
-
If you
|
|
79
|
+
If you want a different shortcut, edit the generated plugin entry in `tui.json` after installation.
|
|
84
80
|
|
|
85
81
|
## Restart OpenCode
|
|
86
82
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-voice2text",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Streaming Volcengine speech-to-text plugin for the OpenCode TUI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,10 @@
|
|
|
31
31
|
"import": "./dist/index.js"
|
|
32
32
|
},
|
|
33
33
|
"./tui": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"import": "./dist/index.js",
|
|
35
|
+
"config": {
|
|
36
|
+
"commandKeybind": "ctrl+s"
|
|
37
|
+
}
|
|
36
38
|
}
|
|
37
39
|
},
|
|
38
40
|
"scripts": {
|