@gholl-studio/pier-connector 0.2.4 → 0.2.5

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/package.json +1 -1
  2. package/src/index.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gholl-studio/pier-connector",
3
3
  "author": "gholl",
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "description": "OpenClaw plugin that connects to the Pier job marketplace. Automatically fetches, executes, and reports distributed tasks for rewards.",
6
6
  "type": "module",
7
7
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -639,8 +639,8 @@ export default function register(api) {
639
639
  continue;
640
640
  }
641
641
 
642
- // Send read receipt back
643
- if (js && msgPayload.id) {
642
+ // Send read receipt back (ONLY for actual messages from users, BUG-31)
643
+ if (js && msgPayload.id && !msgPayload.type && msgPayload.sender_id !== config.nodeId) {
644
644
  try {
645
645
  const replySubject = `jobs.job.${jobId}.msg`;
646
646
  await js.publish(replySubject, new TextEncoder().encode(JSON.stringify({