opencode-groq-dictate 1.1.0 → 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 +15 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # opencode-groq-dictate
2
2
 
3
3
  [![opencode v2](https://img.shields.io/badge/opencode-v2-orange.svg)](#requirements)
4
+ [![npm](https://img.shields.io/npm/v/opencode-groq-dictate?label=npm)](https://www.npmjs.com/package/opencode-groq-dictate)
4
5
  [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5
6
  [![release](https://img.shields.io/github/v/tag/LeonVeganMan/opencode-groq-dictate?label=release)](https://github.com/LeonVeganMan/opencode-groq-dictate/releases)
6
7
  [![tests](https://img.shields.io/badge/tests-bun%20test-informational.svg)](#development)
@@ -37,15 +38,25 @@ cursor, as if it had been pasted by hand.
37
38
 
38
39
  ## Install
39
40
 
41
+ ```bash
42
+ opencode plugin add opencode-groq-dictate
43
+ ```
44
+
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:
54
+
40
55
  ```bash
41
56
  git clone https://github.com/LeonVeganMan/opencode-groq-dictate.git \
42
57
  ~/.config/opencode/plugins/opencode-groq-dictate
43
58
  ```
44
59
 
45
- Local plugins are discovered from `~/.config/opencode/plugins/<name>/`: no entry in
46
- `opencode.json` is needed. Restart the TUI afterwards — plugins are read at startup and
47
- there is no hot reload.
48
-
49
60
  ## Usage
50
61
 
51
62
  | Key | Action |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-groq-dictate",
3
- "version": "1.1.0",
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",