Plugin SDK: split approval adapter seams

This commit is contained in:
Gustavo Madeira Santana
2026-04-07 16:04:09 -04:00
parent 9bcef781e7
commit 28fc5d9b5e
17 changed files with 118 additions and 91 deletions

View File

@@ -0,0 +1 @@
export { resolveApprovalOverGateway } from "../infra/approval-gateway-resolver.js";

View File

@@ -0,0 +1,4 @@
export {
CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY,
createLazyChannelApprovalNativeRuntimeAdapter,
} from "../infra/approval-handler-adapter-runtime.js";

View File

@@ -3,7 +3,6 @@ export {
createChannelApprovalNativeRuntimeAdapter,
createChannelApprovalHandlerFromCapability,
createLazyChannelApprovalNativeRuntimeAdapter,
resolveApprovalOverGateway,
CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY,
type ApprovalActionView,
type ApprovalMetadataView,
@@ -29,3 +28,4 @@ export {
type PluginApprovalResolvedView,
type ResolvedApprovalView,
} from "../infra/approval-handler-runtime.js";
export { resolveApprovalOverGateway } from "./approval-gateway-runtime.js";