@vaibhavgupta0786/opencode-voice 0.3.5 → 0.3.6

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 +24 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -26,6 +26,30 @@ 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 capped at `>=2.0.12 <2.0.21`, since
48
+ SDK `2.0.21+` raises its OpenTUI peer floor beyond this plugin's pinned
49
+ `0.5.12` runtime deps and would break fresh `npm install` resolutions.
50
+ This affects only local npm resolution — the host resolves the import at
51
+ runtime, so OpenCode host versions above are unaffected.
52
+
29
53
  ## Usage
30
54
 
31
55
  | 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.6",
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,7 +43,7 @@
43
43
  "typecheck": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "@opencode/plugin": "2.0.12",
46
+ "@opencode/plugin": ">=2.0.12 <2.0.21",
47
47
  "solid-js": "1.9.12",
48
48
  "@opentui/solid": "0.5.12",
49
49
  "@opentui/core": "0.5.12"