openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
13 lines (12 loc) • 464 B
TypeScript
import type { OpenClawConfig } from "../../config/config.js";
export type OutboundSessionContext = {
/** Canonical session key used for internal hook dispatch. */
key?: string;
/** Active agent id used for workspace-scoped media roots. */
agentId?: string;
};
export declare function buildOutboundSessionContext(params: {
cfg: OpenClawConfig;
sessionKey?: string | null;
agentId?: string | null;
}): OutboundSessionContext | undefined;