opencode-interrupt-plugin 0.4.18 → 0.4.20

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.
Files changed (2) hide show
  1. package/dist/tui.js +4 -4
  2. package/package.json +1 -1
package/dist/tui.js CHANGED
@@ -111,12 +111,12 @@ async function transcribeAndSend(sessionID, directory, api) {
111
111
  api.ui.toast({ variant: "success", title: "PTT", message: `Sent: "${text.slice(0, 60)}"` });
112
112
  }
113
113
  const tui = async (api, _options, _meta) => {
114
- console.log("[interrupt] TUI plugin loaded, registering f3 keybinding");
114
+ console.log("[interrupt] TUI plugin loaded, registering insert keybinding");
115
115
  api.keymap.registerLayer({
116
116
  commands: [
117
117
  {
118
118
  name: "interrupt.ptt",
119
- title: "Walkie-Talkie (press f3 to record, press again to send)",
119
+ title: "Walkie-Talkie (press insert to record, press again to send)",
120
120
  category: "Plugin",
121
121
  run: async () => {
122
122
  const route = api.route.current;
@@ -137,12 +137,12 @@ const tui = async (api, _options, _meta) => {
137
137
  catch { /* ignore */ }
138
138
  }
139
139
  pttStartRecording();
140
- api.ui.toast({ variant: "info", title: "PTT", message: "Recording... (press f3 again to send)" });
140
+ api.ui.toast({ variant: "info", title: "PTT", message: "Recording... (press insert again to send)" });
141
141
  }
142
142
  },
143
143
  },
144
144
  ],
145
- bindings: [{ key: "f3", cmd: "interrupt.ptt" }],
145
+ bindings: [{ key: "insert", cmd: "interrupt.ptt" }],
146
146
  });
147
147
  api.lifecycle.onDispose(() => {
148
148
  if (recordingProcess) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-interrupt-plugin",
3
- "version": "0.4.18",
3
+ "version": "0.4.20",
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",