@clawling/clawchat-plugin-openclaw 2026.5.13-dev.0 → 2026.5.13-dev.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.
- package/dist/src/api-client.js +146 -26
- package/dist/src/client.js +4 -1
- package/dist/src/inbound.js +21 -4
- package/dist/src/login.runtime.js +4 -0
- package/dist/src/outbound.js +43 -8
- package/dist/src/refresh-manager.js +278 -0
- package/dist/src/reply-dispatcher.js +5 -2
- package/dist/src/runtime.js +552 -28
- package/dist/src/storage.js +81 -5
- package/dist/src/ws-alignment.js +2 -1
- package/dist/src/ws-client.js +42 -4
- package/package.json +1 -1
- package/src/api-client.ts +174 -31
- package/src/client.ts +12 -1
- package/src/inbound.ts +24 -5
- package/src/login.runtime.ts +4 -0
- package/src/outbound.ts +47 -9
- package/src/protocol-types.ts +8 -2
- package/src/refresh-manager.ts +371 -0
- package/src/reply-dispatcher.ts +5 -2
- package/src/runtime.ts +632 -25
- package/src/storage.ts +124 -4
- package/src/ws-alignment.ts +2 -1
- package/src/ws-client.ts +40 -4
|
@@ -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
|
-
|
|
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;
|