create-loopengine 0.1.64 → 0.1.65

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": "create-loopengine",
3
- "version": "0.1.64",
3
+ "version": "0.1.65",
4
4
  "description": "Scaffold a new loopengine agent project — a runnable HTTP server with one example agent, in your own repo.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -124,6 +124,7 @@ import {
124
124
  listAgentPending,
125
125
  listAgentSlackChannels,
126
126
  slackCredentialsFor,
127
+ slackConversationsOn,
127
128
  openSlackAnswerModal,
128
129
  parseSlackInteraction,
129
130
  replyInSlack,
@@ -2758,7 +2759,7 @@ async function handleSlackEvents(req: IncomingMessage, res: ServerResponse, agen
2758
2759
  }
2759
2760
  // Slack wants an answer within three seconds; the reply is posted after.
2760
2761
  res.writeHead(200).end()
2761
- if (event.type !== 'message' || !firstSighting(event)) return
2762
+ if (event.type !== 'message' || !firstSighting(event) || !slackConversationsOn(entry.config)) return
2762
2763
  const environment = process.env.LOOPENGINE_ENV ?? 'production'
2763
2764
  await handleInboundMessage(event, {
2764
2765
  agentName,
@@ -9,7 +9,7 @@
9
9
  "cli": "tsx adapters/cli.ts"
10
10
  },
11
11
  "dependencies": {
12
- "loopengine": "^0.1.79",
12
+ "loopengine": "^0.1.81",
13
13
  "actauth": "^0.0.12",
14
14
  "tsx": "^4.19.0",
15
15
  "typescript": "^5.7.0"