opencode-interrupt-plugin 0.4.24 → 0.4.26

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/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import type { Plugin } from '@opencode-ai/plugin';
2
2
  import type { TuiPlugin } from '@opencode-ai/plugin/tui';
3
3
  import { type PluginConfig } from './config.js';
4
4
  export declare const InterruptPlugin: (userConfig?: PluginConfig) => Plugin;
5
+ export declare const tui: TuiPlugin;
5
6
  declare const _default: {
6
7
  id: string;
7
8
  tui: TuiPlugin;
package/dist/index.js CHANGED
@@ -393,7 +393,7 @@ function extractText(parts) {
393
393
  return '';
394
394
  }
395
395
  }
396
- const tuiFn = async (api, _options, _meta) => {
396
+ export const tui = async (api, _options, _meta) => {
397
397
  console.log("[interrupt] TUI plugin initializing");
398
398
  try {
399
399
  api.keymap.registerLayer({
@@ -444,4 +444,4 @@ const tuiFn = async (api, _options, _meta) => {
444
444
  pttActive = false;
445
445
  });
446
446
  };
447
- export default { id: "interrupt.walkie-talkie", tui: tuiFn };
447
+ export default { id: "interrupt.walkie-talkie", tui };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-interrupt-plugin",
3
- "version": "0.4.24",
3
+ "version": "0.4.26",
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",