@vaibhavgupta0786/opencode-voice 0.3.5 → 0.3.7

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 +27 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -26,6 +26,33 @@ opencode plugin add @vaibhavgupta0786/opencode-voice
26
26
  `f9` may be hijacked by macOS Fn keys — `Ctrl+P` → `dictate` (or
27
27
  `/dictate`) works the same.
28
28
 
29
+ ## Compatibility
30
+
31
+ V2-only — the `Plugin.define` TUI API and slots don't exist in V1.
32
+
33
+ | OpenCode V2 | Status | Verified |
34
+ |---|---|---|
35
+ | `2.0.12` | ✅ works | footer slot renders, zero errors |
36
+ | `2.0.28` | ✅ works | footer slot renders, zero errors |
37
+ | `2.1.3` | ✅ works | footer slot renders, zero plugin errors |
38
+
39
+ Verified with each version's real binary booted standalone against the
40
+ published npm package, checking load, slot render, and error logs. The
41
+ plugin only touches two documented-stable APIs —
42
+ `context.ui.slot({ append: "prompt.footer.status" })` and
43
+ `context.keymap.layer()` — no host OpenTUI internals, so the host-side
44
+ OpenTUI 0.5 → 0.6 migration doesn't affect it. Newer `2.x` releases are
45
+ expected to work; if one doesn't, file an issue.
46
+
47
+ Manifest note: `@opencode/plugin` is pinned `>=2.0.12 <2.1.0`. SDK
48
+ `2.1.0+` peers `@opentui/core >=0.6.6` and would break fresh
49
+ `npm install` resolutions against this plugin's `0.5.17` line; everything
50
+ up to `2.0.32` resolves cleanly since the `@opentui/*` pins moved to
51
+ `0.5.17` (whose own peer chain fixes `solid-js` at `1.9.12` — that exact
52
+ pin is contract, don't loosen it). This only shapes local npm trees —
53
+ the host resolves the import at runtime, so OpenCode host versions above
54
+ are unaffected. A full OpenTUI 0.6 migration unlocks `2.1.x+`.
55
+
29
56
  ## Usage
30
57
 
31
58
  | Input | Action |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaibhavgupta0786/opencode-voice",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Local-only push-to-talk dictation for OpenCode v2 \u2014 press F9, speak, press F9.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,15 +43,15 @@
43
43
  "typecheck": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@opencode/plugin": "2.0.12",
46
+ "@opencode/plugin": ">=2.0.12 <2.1.0",
47
47
  "solid-js": "1.9.12",
48
- "@opentui/solid": "0.5.12",
49
- "@opentui/core": "0.5.12"
48
+ "@opentui/solid": "0.5.17",
49
+ "@opentui/core": "0.5.17"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@opencode/client": "2.0.12",
53
53
  "@opentui/solid": "^0.5.0",
54
- "@types/node": "^22.0.0",
54
+ "@types/node": "^26.0.0",
55
55
  "solid-js": "^1.9.0",
56
56
  "typescript": "^5.4.0"
57
57
  },