@clawling/clawchat-plugin-openclaw 2026.5.13-dev.0 → 2026.5.13-dev.1

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.
@@ -3,7 +3,7 @@ import { resolveOutboundMediaUrls } from "openclaw/plugin-sdk/reply-payload";
3
3
  import { createOpenclawClawlingApiClient } from "./api-client.js";
4
4
  import { effectiveOutputVisibility, } from "./config.js";
5
5
  import { uploadOutboundMedia } from "./media-runtime.js";
6
- import { sendOpenclawClawlingText, } from "./outbound.js";
6
+ import { mintMessageId, sendOpenclawClawlingText, } from "./outbound.js";
7
7
  import { isClawChatNoopResponseText } from "./profile-prompt.js";
8
8
  import { consumeTerminalClawChatSend } from "./terminal-send.js";
9
9
  import { openclawLlmContextDebug } from "./llm-context-debug.js";
@@ -415,7 +415,10 @@ export function createOpenclawClawlingReplyDispatcher(options) {
415
415
  }
416
416
  return merged;
417
417
  };
418
- const mintStaticMessageId = () => `${account.userId}-msg-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`;
418
+ // §7.6 (binding): client-supplied message_id MUST be `msg-` + a 26-char
419
+ // Crockford base32 ULID. Use the shared conformant minter — do not invent a
420
+ // different scheme (planned msghub Phase-4 validation will reject it).
421
+ const mintStaticMessageId = () => mintMessageId();
419
422
  const emitTyping = (isTyping) => {
420
423
  if (!isTyping && !typingActive)
421
424
  return;