patchcord 0.5.36 → 0.5.38
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/package.json +1 -1
- package/scripts/subscribe.mjs +0 -3
package/package.json
CHANGED
package/scripts/subscribe.mjs
CHANGED
|
@@ -383,9 +383,6 @@ function runOnce(ticket, baseUrl, token, refreshTicket) {
|
|
|
383
383
|
if (rec.namespace_id && !allowedNs.has(rec.namespace_id)) return;
|
|
384
384
|
// Only notify for messages addressed TO this agent — not our own outgoing replies.
|
|
385
385
|
if (rec.to_agent && rec.to_agent !== ticket.agent_id) return;
|
|
386
|
-
// Skip resolved-ack messages (reply with resolve=true). These are terminal
|
|
387
|
-
// replies — waking the agent would restart the ack loop.
|
|
388
|
-
if (rec.thread_resolved_at) return;
|
|
389
386
|
const from = rec.from_agent || "unknown";
|
|
390
387
|
process.stdout.write(`PATCHCORD: 1 new from ${from}\n`);
|
|
391
388
|
});
|