opencode-voice2text 0.1.8 → 0.1.9

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.
@@ -0,0 +1,3 @@
1
+ import type { TuiPluginModule } from "@opencode-ai/plugin/tui";
2
+ declare const plugin: TuiPluginModule;
3
+ export default plugin;
package/dist/debug.js ADDED
@@ -0,0 +1,24 @@
1
+ const plugin = {
2
+ id: "opencode.voice2text.debug",
3
+ tui: async (api) => {
4
+ api.command.register(() => [
5
+ {
6
+ title: "Voice2Text debug",
7
+ value: "voice2text.debug",
8
+ description: "Show a debug toast from the voice plugin",
9
+ keybind: "ctrl+g",
10
+ hidden: false,
11
+ onSelect: () => {
12
+ api.ui.toast({
13
+ title: "Voice2Text",
14
+ message: "debug command reached",
15
+ variant: "info",
16
+ duration: 2500,
17
+ });
18
+ },
19
+ },
20
+ ]);
21
+ },
22
+ };
23
+ export default plugin;
24
+ //# sourceMappingURL=debug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debug.js","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAoB;IAC9B,EAAE,EAAE,2BAA2B;IAC/B,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;QACjB,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;YACzB;gBACE,KAAK,EAAE,kBAAkB;gBACzB,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EAAE,0CAA0C;gBACvD,OAAO,EAAE,QAAQ;gBACjB,MAAM,EAAE,KAAK;gBACb,QAAQ,EAAE,GAAG,EAAE;oBACb,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC;wBACX,KAAK,EAAE,YAAY;wBACnB,OAAO,EAAE,uBAAuB;wBAChC,OAAO,EAAE,MAAM;wBACf,QAAQ,EAAE,IAAI;qBACf,CAAC,CAAA;gBACJ,CAAC;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,eAAe,MAAM,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-voice2text",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Streaming Volcengine speech-to-text plugin for the OpenCode TUI",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "import": "./dist/index.js"
32
32
  },
33
33
  "./tui": {
34
- "import": "./dist/index.js",
34
+ "import": "./dist/debug.js",
35
35
  "config": {
36
36
  "commandKeybind": "ctrl+g"
37
37
  }