mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
9935ca3b30
Native approval delivery and resolution now stay bound to the originating or explicitly targeted channel account. Unbound requests fail closed across multiple eligible accounts; trusted reviewer-less SDK callers remain compatible. Co-authored-by: Ayaan Zaidi <hi@obviy.us>
33 lines
1.3 KiB
TypeScript
33 lines
1.3 KiB
TypeScript
/**
|
|
* Runtime SDK subpath for native approval routing, target matching, and forwarding gates.
|
|
*/
|
|
export {
|
|
createChannelApprovalForwardingEvaluator,
|
|
createChannelApproverDmTargetResolver,
|
|
createChannelNativeOriginTargetResolver,
|
|
createNativeApprovalChannelRouteGates,
|
|
createNativeApprovalForwardingFallbackSuppressor,
|
|
createNativeApprovalMessagingTargetResolvers,
|
|
nativeApprovalTargetsMatch,
|
|
resolveApprovalKind,
|
|
shouldSuppressLocalNativeExecApprovalPrompt,
|
|
type ChannelApprovalExplicitTargetEligibilityParams,
|
|
type ChannelApprovalForwardingEligibilityParams,
|
|
type ChannelApprovalPotentialRouteParams,
|
|
} from "./approval-native-helpers.js";
|
|
export {
|
|
resolveApprovalRequestSessionConversation,
|
|
resolveApprovalRequestOriginTarget,
|
|
resolveApprovalRequestSessionTarget,
|
|
resolveExecApprovalSessionTarget,
|
|
type ApprovalRequestSessionConversation,
|
|
type ExecApprovalSessionTarget,
|
|
} from "../infra/exec-approval-session-target.js";
|
|
export { buildChannelApprovalNativeTargetKey } from "../infra/approval-native-target-key.js";
|
|
export {
|
|
doesApprovalRequestMatchChannelAccount,
|
|
doesApprovalRequestSelectChannelAccount,
|
|
resolveApprovalRequestAccountId,
|
|
resolveApprovalRequestChannelAccountId,
|
|
} from "../infra/approval-request-account-binding.js";
|