opencode-interrupt-plugin 0.4.22 → 0.4.24
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 +2 -4
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,8 @@ 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
|
-
declare const _default:
|
|
6
|
-
export default _default;
|
|
7
|
-
export { InterruptPlugin as Interrupt };
|
|
8
|
-
export declare const tui: {
|
|
5
|
+
declare const _default: {
|
|
9
6
|
id: string;
|
|
10
7
|
tui: TuiPlugin;
|
|
11
8
|
};
|
|
9
|
+
export default _default;
|
package/dist/index.js
CHANGED
|
@@ -393,8 +393,6 @@ function extractText(parts) {
|
|
|
393
393
|
return '';
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
export default InterruptPlugin();
|
|
397
|
-
export { InterruptPlugin as Interrupt };
|
|
398
396
|
const tuiFn = async (api, _options, _meta) => {
|
|
399
397
|
console.log("[interrupt] TUI plugin initializing");
|
|
400
398
|
try {
|
|
@@ -446,4 +444,4 @@ const tuiFn = async (api, _options, _meta) => {
|
|
|
446
444
|
pttActive = false;
|
|
447
445
|
});
|
|
448
446
|
};
|
|
449
|
-
export
|
|
447
|
+
export default { id: "interrupt.walkie-talkie", tui: tuiFn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-interrupt-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.24",
|
|
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",
|