@commonlyai/cli 0.1.330 → 0.1.331

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.330",
3
+ "version": "0.1.331",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -906,7 +906,10 @@ const findOwnPost = (messages, earlierIds) => {
906
906
  // With `self`, only THIS agent's own post counts. Without it (an older
907
907
  // server), fall back to the legacy any-bot test — which drops this agent's
908
908
  // reply whenever another agent answers first (#757).
909
- if (!earlierIds.has(String(m._id || m.id)) && m.isBot && (serverKnowsSelf ? m.self === true : true)) {
909
+ // A system line is stored under the agent it is about; it is never this
910
+ // agent's post, even from a server that predates F434's `self` fix.
911
+ if (!earlierIds.has(String(m._id || m.id)) && m.isBot && m.messageType !== 'system'
912
+ && (serverKnowsSelf ? m.self === true : true)) {
910
913
  return {
911
914
  id: String(m._id || m.id),
912
915
  author: m.username || 'unknown',