opencode-groq-dictate 1.1.2 → 1.1.3

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/README.md +14 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,18 +39,23 @@ cursor, as if it had been pasted by hand.
39
39
  ## Install
40
40
 
41
41
  ```bash
42
- git clone https://github.com/LeonVeganMan/opencode-groq-dictate.git \
43
- ~/.config/opencode/plugins/opencode-groq-dictate
42
+ opencode plugin add opencode-groq-dictate
44
43
  ```
45
44
 
46
- Local plugins are discovered from `~/.config/opencode/plugins/<name>/`: no entry in
47
- `opencode.json` is needed. Restart the TUI afterwards — plugins are read at startup and
48
- there is no hot reload.
45
+ Restart the TUI afterwards — plugins are read at startup and there is no hot reload. On the
46
+ first `alt+v` the plugin asks for the Groq API key (the free tier is enough) and keeps it in
47
+ the opencode plugin storage, never in this repository. If the key is rejected (`401`) it is
48
+ dropped and asked again.
49
+
50
+ To update: `opencode plugin update`, then restart.
51
+
52
+ For hacking on it, install from a clone instead — plugins are also discovered from
53
+ `~/.config/opencode/plugins/<name>/` and need no `opencode.json` entry:
49
54
 
50
- The clone above stays the documented install — opencode loads plugins from that folder —
51
- and the package is also on npm as
52
- [`opencode-groq-dictate`](https://www.npmjs.com/package/opencode-groq-dictate) for
53
- directories and registries that index plugins.
55
+ ```bash
56
+ git clone https://github.com/LeonVeganMan/opencode-groq-dictate.git \
57
+ ~/.config/opencode/plugins/opencode-groq-dictate
58
+ ```
54
59
 
55
60
  ## Usage
56
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-groq-dictate",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Groq dictation in the OpenCode v2 TUI: alt+v records, transcribes with whisper-large-v3-turbo, and pastes the text into the prompt.",
5
5
  "private": false,
6
6
  "type": "module",