@emqo/claudebridge 0.10.3 → 0.10.4

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.
@@ -254,7 +254,7 @@ export class DiscordAdapter {
254
254
  this.maxParallel = this.engine.getMaxParallel();
255
255
  log.info("ready", { maxParallel: this.maxParallel, multiSession: this.engine.isMultiSessionEnabled() });
256
256
  this.reminderTimer = setInterval(() => this.checkReminders(), 30000);
257
- this.autoTimer = setInterval(() => this.processAutoTasks(), 60000);
257
+ this.autoTimer = setInterval(() => this.processAutoTasks(), 5000);
258
258
  this.approvalTimer = setInterval(() => this.checkApprovals(), 15000);
259
259
  this.fileSendTimer = setInterval(() => this.checkFileSends(), 5000);
260
260
  }
@@ -291,7 +291,7 @@ export class DiscordAdapter {
291
291
  for (const task of tasks) {
292
292
  this.activeAutoTasks++;
293
293
  this.store.markTaskRunning(task.id);
294
- this.runAutoTask(task).finally(() => { this.activeAutoTasks--; });
294
+ this.runAutoTask(task).finally(() => { this.activeAutoTasks--; this.processAutoTasks(); });
295
295
  }
296
296
  }
297
297
  async runAutoTask(task) {
@@ -388,7 +388,7 @@ export class TelegramAdapter {
388
388
  this.maxParallel = this.engine.getMaxParallel();
389
389
  log.info("starting long polling...", { maxParallel: this.maxParallel, multiSession: this.engine.isMultiSessionEnabled() });
390
390
  this.reminderTimer = setInterval(() => this.checkReminders(), 30000);
391
- this.autoTimer = setInterval(() => this.processAutoTasks(), 60000);
391
+ this.autoTimer = setInterval(() => this.processAutoTasks(), 5000);
392
392
  this.approvalTimer = setInterval(() => this.checkApprovals(), 15000);
393
393
  this.fileSendTimer = setInterval(() => this.checkFileSends(), 5000);
394
394
  await this.registerCommands();
@@ -458,7 +458,7 @@ export class TelegramAdapter {
458
458
  for (const task of tasks) {
459
459
  this.activeAutoTasks++;
460
460
  this.store.markTaskRunning(task.id);
461
- this.runAutoTask(task).finally(() => { this.activeAutoTasks--; });
461
+ this.runAutoTask(task).finally(() => { this.activeAutoTasks--; this.processAutoTasks(); });
462
462
  }
463
463
  }
464
464
  async runAutoTask(task) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emqo/claudebridge",
3
- "version": "0.10.3",
3
+ "version": "0.10.4",
4
4
  "description": "Bridge claude CLI to chat platforms (Telegram, Discord) with scheduled auto-tasks, autonomous project management, HITL approval, conditional branching, webhook triggers, parallel execution, and observability",
5
5
  "main": "dist/index.js",
6
6
  "bin": {