mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 05:01:15 +00:00
Plugin SDK: split approval adapter seams
This commit is contained in:
1
src/plugin-sdk/approval-gateway-runtime.ts
Normal file
1
src/plugin-sdk/approval-gateway-runtime.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { resolveApprovalOverGateway } from "../infra/approval-gateway-resolver.js";
|
||||
4
src/plugin-sdk/approval-handler-adapter-runtime.ts
Normal file
4
src/plugin-sdk/approval-handler-adapter-runtime.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export {
|
||||
CHANNEL_APPROVAL_NATIVE_RUNTIME_CONTEXT_CAPABILITY,
|
||||
createLazyChannelApprovalNativeRuntimeAdapter,
|
||||
} from "../infra/approval-handler-adapter-runtime.js";
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user