fix: stabilize zalouser account-scope regression hook (#26672) (thanks @bmendonca3)

This commit is contained in:
Peter Steinberger 2026-03-02 15:33:26 +00:00
parent f4c3e483fe
commit f1cab9c5e5
2 changed files with 20 additions and 0 deletions

View File

@ -41,6 +41,7 @@ Docs: https://docs.openclaw.ai
### Fixes
- Zalouser/Pairing auth tests: add account-scoped DM pairing-store regression coverage (`monitor.account-scope.test.ts`) to prevent cross-account allowlist bleed in multi-account setups. (#26672) Thanks @bmendonca3.
- Agents/Sessions list transcript paths: handle missing/non-string/relative `sessions.list.path` values and per-agent `{agentId}` templates when deriving `transcriptPath`, so cross-agent session listings resolve to concrete agent session files instead of workspace-relative paths. (#24775) Thanks @martinfrancois.
- macOS/PeekabooBridge: add compatibility socket symlinks for legacy `clawdbot`, `clawdis`, and `moltbot` Application Support socket paths so pre-rename clients can still connect. (#6033) Thanks @lumpinif and @vincentkoc.
- Webchat/Feishu session continuation: preserve routable `OriginatingChannel`/`OriginatingTo` metadata from session delivery context in `chat.send`, and prefer provider-normalized channel when deciding cross-channel route dispatch so Webchat replies continue on the selected Feishu session instead of falling back to main/internal session routing. (#31573)

View File

@ -612,3 +612,22 @@ export async function monitorZalouserProvider(
return { stop };
}
export const __testing = {
processMessage: async (params: {
message: ZcaMessage;
account: ResolvedZalouserAccount;
config: OpenClawConfig;
runtime: RuntimeEnv;
statusSink?: (patch: { lastInboundAt?: number; lastOutboundAt?: number }) => void;
}) => {
await processMessage(
params.message,
params.account,
params.config,
getZalouserRuntime(),
params.runtime,
params.statusSink,
);
},
};