@clawling/clawchat-plugin-openclaw 2026.6.16-4 → 2026.6.16-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.
- package/dist/src/inbound.js +4 -0
- package/package.json +1 -1
- package/src/inbound.ts +6 -0
package/dist/src/inbound.js
CHANGED
|
@@ -115,6 +115,10 @@ export async function dispatchOpenclawClawlingInbound(params) {
|
|
|
115
115
|
log?.info?.(`[${account.accountId}] clawchat-plugin-openclaw skip: missing sender trace=${envelope.trace_id}`);
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
+
if (sender.id === "system") {
|
|
119
|
+
log?.info?.(`[${account.accountId}] clawchat-plugin-openclaw skip system message msg=${payload.message_id}`);
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
118
122
|
if (account.userId && sender.id === account.userId) {
|
|
119
123
|
log?.info?.(`[${account.accountId}] clawchat-plugin-openclaw skip self-echo msg=${payload.message_id} user=${sender.id}`);
|
|
120
124
|
return;
|
package/package.json
CHANGED
package/src/inbound.ts
CHANGED
|
@@ -222,6 +222,12 @@ export async function dispatchOpenclawClawlingInbound(
|
|
|
222
222
|
);
|
|
223
223
|
return;
|
|
224
224
|
}
|
|
225
|
+
if (sender.id === "system") {
|
|
226
|
+
log?.info?.(
|
|
227
|
+
`[${account.accountId}] clawchat-plugin-openclaw skip system message msg=${payload.message_id}`,
|
|
228
|
+
);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
225
231
|
if (account.userId && sender.id === account.userId) {
|
|
226
232
|
log?.info?.(
|
|
227
233
|
`[${account.accountId}] clawchat-plugin-openclaw skip self-echo msg=${payload.message_id} user=${sender.id}`,
|