@wps365/openclaw-wpsxiezuo 1.10.0 → 1.10.2-beta.0

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.
@@ -9,8 +9,6 @@
9
9
  */
10
10
  import type { WpsEventPayload } from "./event-types.js";
11
11
  import type { LogFacade } from "./types.js";
12
- import { extractRichTextContent } from "./wps-rich-text-walk.js";
13
- export { extractRichTextContent };
14
12
  export declare function shouldSkipNonMessageTopic(topic: unknown): boolean;
15
13
  type SdkMessageData = {
16
14
  chat: {
@@ -58,4 +56,5 @@ export declare function processWebhookBody(body: unknown, creds: {
58
56
  }, enableEncryption: boolean, log?: LogFacade): {
59
57
  challenge: string;
60
58
  } | WebhookDecryptResult;
59
+ export {};
61
60
  //# sourceMappingURL=event-handlers.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Per-account 最近入站上下文缓存。
3
+ *
4
+ * 在 handleInbound 阶段写入,在 handleAction 阶段读取作为 fallback,
5
+ * 避免 Agent 需要手动指定回复目标。
6
+ *
7
+ * 独立模块,避免 handler.ts ↔ plugin.ts 循环依赖。
8
+ */
9
+ export type LastInboundContext = {
10
+ chatId: string;
11
+ senderId: string;
12
+ isDirect: boolean;
13
+ ts: number;
14
+ };
15
+ export declare function setLastInboundContext(accountId: string, ctx: Omit<LastInboundContext, "ts">): void;
16
+ export declare function getLastInboundContext(accountId: string): LastInboundContext | undefined;
17
+ //# sourceMappingURL=inbound-context-cache.d.ts.map