@friendlyrobot/discord-pi-agent 0.5.2 → 0.5.3

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -848,6 +848,10 @@ async function onMessage(message, config, agentService, sessionRegistry, authCon
848
848
  console.log("[gateway] ignored bot message", { messageId: message.id });
849
849
  return;
850
850
  }
851
+ if (message.system) {
852
+ console.log("[gateway] ignored system message", { messageId: message.id });
853
+ return;
854
+ }
851
855
  const scope = resolveScope(message);
852
856
  if (scope === null) {
853
857
  console.log("[gateway] unsupported channel type, ignoring", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@friendlyrobot/discord-pi-agent",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Reusable Discord gateway bridge for persistent pi agent sessions",
5
5
  "license": "MIT",
6
6
  "type": "module",