opencode-interrupt-plugin 0.4.13 → 0.4.15
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/dist/tui.js +3 -3
- package/package.json +1 -1
package/dist/tui.js
CHANGED
|
@@ -117,7 +117,7 @@ const tui = async (api, _options, _meta) => {
|
|
|
117
117
|
commands: [
|
|
118
118
|
{
|
|
119
119
|
name: "interrupt.ptt",
|
|
120
|
-
title: "Walkie-Talkie (hold space to talk, release to redirect)",
|
|
120
|
+
title: "Walkie-Talkie (hold ctrl+shift+space to talk, release to redirect)",
|
|
121
121
|
category: "Plugin",
|
|
122
122
|
run: async () => {
|
|
123
123
|
const route = api.route.current;
|
|
@@ -138,7 +138,7 @@ const tui = async (api, _options, _meta) => {
|
|
|
138
138
|
catch { /* ignore */ }
|
|
139
139
|
}
|
|
140
140
|
pttStartRecording();
|
|
141
|
-
api.ui.toast({ variant: "info", title: "PTT", message: "Recording... (release space to send)" });
|
|
141
|
+
api.ui.toast({ variant: "info", title: "PTT", message: "Recording... (release ctrl+shift+space to send)" });
|
|
142
142
|
}
|
|
143
143
|
releaseTimer = setTimeout(() => {
|
|
144
144
|
releaseTimer = null;
|
|
@@ -150,7 +150,7 @@ const tui = async (api, _options, _meta) => {
|
|
|
150
150
|
},
|
|
151
151
|
},
|
|
152
152
|
],
|
|
153
|
-
bindings: [{ key: "space", cmd: "interrupt.ptt" }],
|
|
153
|
+
bindings: [{ key: "ctrl+shift+space", cmd: "interrupt.ptt" }],
|
|
154
154
|
});
|
|
155
155
|
api.lifecycle.onDispose(() => {
|
|
156
156
|
if (releaseTimer)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-interrupt-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.15",
|
|
4
4
|
"description": "Streaming TTS + voice interruption for OpenCode. Speaks responses as they arrive and detects when you talk over it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|