clisbot 0.1.45-beta.13 → 0.1.45-beta.14

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/main.js +6 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -76207,6 +76207,12 @@ class SlackSocketService {
76207
76207
  allowFrom: params.route.allowUsers ?? [],
76208
76208
  userId: senderId
76209
76209
  })) {
76210
+ const explicitlyAddressed = params.wasMentioned || hasBotMention(event.text ?? "", this.botUserId);
76211
+ if (params.route.requireMention && !explicitlyAddressed) {
76212
+ debugSlackEvent("drop-shared-not-addressed", { eventId, senderId });
76213
+ await this.processedEventsStore.markCompleted(eventId);
76214
+ return;
76215
+ }
76210
76216
  try {
76211
76217
  await postSlackText(this.app.client, {
76212
76218
  channel: channelId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clisbot",
3
- "version": "0.1.45-beta.13",
3
+ "version": "0.1.45-beta.14",
4
4
  "private": false,
5
5
  "description": "Chat surfaces for durable AI coding agents running in tmux",
6
6
  "license": "MIT",