bobs-opencode-discord-notifier 0.1.5 → 0.1.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/dist/index.js +1 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36,6 +36,7 @@ async function handleNotification(client, project, event, type) {
36
36
  client.session.messages({ path: { id: sessionId } })
37
37
  ]);
38
38
  const session = sRes.data || sRes;
39
+ if (session?.parentID) return;
39
40
  const messages = mRes.data || mRes || [];
40
41
  let lastText = "Response completed.";
41
42
  let contextUsage = "N/A";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bobs-opencode-discord-notifier",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "OpenCode plugin that sends Discord notifications on session completion and permission requests.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",