@delt/claude-alarm 0.6.2 → 0.6.3

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/dist/cli.js CHANGED
@@ -544,7 +544,7 @@ ${sessionList}`);
544
544
  \u{1F4C2} <b>${this.escHtml(sessionLabel)}</b>
545
545
  \u{1F527} <code>${this.escHtml(toolName)}</code> \u2014 ${this.escHtml(description)}
546
546
 
547
- <pre>${this.escHtml(preview.slice(0, 300))}</pre>`;
547
+ <pre>${this.escHtml(preview.slice(0, 800))}</pre>`;
548
548
  const replyMarkup = {
549
549
  inline_keyboard: [[
550
550
  { text: "\u2705 Allow", callback_data: `perm:allow:${sessionId2}:${requestId}` },
@@ -1069,6 +1069,7 @@ var init_server = __esm({
1069
1069
  channelWs.send(JSON.stringify(msg));
1070
1070
  logger.info(`Telegram permission verdict [${requestId}]: ${behavior} -> session ${sessionId2}`);
1071
1071
  }
1072
+ this.broadcastToDashboards({ type: "permission_response", sessionId: sessionId2, requestId, behavior });
1072
1073
  };
1073
1074
  this.notifier.configure({ telegramBot: this.telegramBot });
1074
1075
  this.telegramBot.startPolling();