@teamvibe/poller 0.4.1 → 0.4.2

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.
@@ -234,9 +234,15 @@ async function runClaudeCode(msg, sessionLog, cwd, sessionId, isFirstMessage = t
234
234
  const slackContext = msg.response_context.slack;
235
235
  const isCronMessage = msg.source === 'cron';
236
236
  const isHeartbeat = msg.source === 'heartbeat';
237
+ const isMaintenance = msg.source === 'maintenance';
237
238
  const isEmailMessage = msg.source === 'email';
238
239
  const isWebhookMessage = msg.source === 'webhook';
239
- if (!slackContext && !isCronMessage && !isHeartbeat && !isEmailMessage && !isWebhookMessage) {
240
+ if (!slackContext &&
241
+ !isCronMessage &&
242
+ !isHeartbeat &&
243
+ !isMaintenance &&
244
+ !isEmailMessage &&
245
+ !isWebhookMessage) {
240
246
  throw new Error('No Slack context in message');
241
247
  }
242
248
  // Build resume hint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamvibe/poller",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {