@mohak34/opencode-notifier 0.1.31 → 0.1.32-beta.0
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.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -836,7 +836,8 @@ async function handleEventWithElapsedTime(client, config, eventType, projectName
|
|
|
836
836
|
await handleEvent(config, eventType, projectName, elapsedSeconds, sessionTitle, sessionID);
|
|
837
837
|
}
|
|
838
838
|
var NotifierPlugin = async ({ client, directory }) => {
|
|
839
|
-
|
|
839
|
+
const clientEnv = process.env.OPENCODE_CLIENT;
|
|
840
|
+
if (clientEnv && clientEnv !== "cli") {
|
|
840
841
|
return {};
|
|
841
842
|
}
|
|
842
843
|
const getConfig = () => loadConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mohak34/opencode-notifier",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32-beta.0",
|
|
4
4
|
"description": "OpenCode plugin that sends system notifications and plays sounds when permission is needed, generation completes, or errors occur",
|
|
5
5
|
"author": "mohak34",
|
|
6
6
|
"license": "MIT",
|