@delt/claude-alarm 0.6.12 → 0.6.13

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
@@ -539,11 +539,11 @@ ${sessionList}`);
539
539
  else if (p.file_path) {
540
540
  preview = p.file_path;
541
541
  if (p.content) {
542
- preview += "\n" + p.content.slice(0, 500);
542
+ preview += "\n" + p.content.slice(0, 3e3);
543
543
  if (p.content.length > 500) truncated = true;
544
544
  }
545
545
  } else if (p.content && typeof p.content === "string") {
546
- preview = p.content.slice(0, 500);
546
+ preview = p.content.slice(0, 3e3);
547
547
  if (p.content.length > 500) truncated = true;
548
548
  }
549
549
  } catch {
@@ -551,10 +551,10 @@ ${sessionList}`);
551
551
  const cmdMatch = inputPreview.match(/"command"\s*:\s*"((?:[^"\\]|\\.)*)"/);
552
552
  const contentMatch = inputPreview.match(/"content"\s*:\s*"((?:[^"\\]|\\.)*)"/);
553
553
  if (cmdMatch) preview = `$ ${cmdMatch[1]}`;
554
- else if (contentMatch) preview = contentMatch[1].slice(0, 500);
554
+ else if (contentMatch) preview = contentMatch[1].slice(0, 3e3);
555
555
  }
556
556
  const truncNote = truncated ? "\n\n<i>...truncated</i>" : "";
557
- const previewSlice = preview.slice(0, 800);
557
+ const previewSlice = preview.slice(0, 3e3);
558
558
  const isShort = !previewSlice.includes("\n") && previewSlice.length < 100;
559
559
  const previewHtml = isShort ? `<code>${this.escHtml(previewSlice)}</code>` : this.escHtml(previewSlice);
560
560
  let displayTool = toolName;
@@ -943,7 +943,7 @@ var init_server = __esm({
943
943
  this.sessions.updateActivity(msg.sessionId);
944
944
  const replySession = this.sessions.get(msg.sessionId);
945
945
  const replyLabel = this.getSessionLabel(replySession);
946
- this.notifier.notifyWithSession(msg.sessionId, replyLabel, `[${replyLabel}] Reply`, msg.content.slice(0, 200), "info");
946
+ this.notifier.notifyWithSession(msg.sessionId, replyLabel, `[${replyLabel}] Reply`, msg.content.slice(0, 3e3), "info");
947
947
  this.broadcastToDashboards({
948
948
  type: "reply_from_session",
949
949
  sessionId: msg.sessionId,