@mohak34/opencode-notifier 0.1.22 → 0.1.23-beta.1

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 (3) hide show
  1. package/README.md +23 -0
  2. package/dist/index.js +12880 -411
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -24,6 +24,29 @@ You'll get notified when:
24
24
 
25
25
  There's also `subagent_complete` for when subagents finish, but that's silent by default so you don't get spammed.
26
26
 
27
+ ## Sound Toggle Tool
28
+
29
+ You can use the `sound-toggle` tool to enable, disable, or check the status of sounds without editing the config file:
30
+
31
+ ```json
32
+ {
33
+ "plugin": ["@mohak34/opencode-notifier@latest"]
34
+ }
35
+ ```
36
+
37
+ Then in OpenCode, just ask:
38
+
39
+ - "Use sound-toggle to disable sounds" - Turns sounds off
40
+ - "Use sound-toggle to enable sounds" - Turns sounds on
41
+ - "Use sound-toggle to toggle sounds" - Switches between on/off
42
+ - "Use sound-toggle to check status" - Shows current sound status
43
+
44
+ The tool will respond with the current state and modify your `opencode-notifier.json` config file accordingly.
45
+
46
+ Notes:
47
+ - The config file must exist (run the notifier once to create it) before using `sound-toggle`.
48
+ - You can override the config path with `OPENCODE_NOTIFIER_CONFIG_PATH`.
49
+
27
50
  ## Setup by platform
28
51
 
29
52
  **macOS**: Nothing to do, works out of the box. Shows the Script Editor icon.