mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
perf: add narrow inbound roots sdk surface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { mergeInboundPathRoots } from "openclaw/plugin-sdk/channel-inbound";
|
||||
import { mergeInboundPathRoots } from "openclaw/plugin-sdk/channel-inbound-roots";
|
||||
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
|
||||
import { resolveIMessageAccount } from "./accounts.js";
|
||||
|
||||
|
||||
@@ -545,6 +545,10 @@
|
||||
"types": "./dist/plugin-sdk/channel-inbound.d.ts",
|
||||
"default": "./dist/plugin-sdk/channel-inbound.js"
|
||||
},
|
||||
"./plugin-sdk/channel-inbound-roots": {
|
||||
"types": "./dist/plugin-sdk/channel-inbound-roots.d.ts",
|
||||
"default": "./dist/plugin-sdk/channel-inbound-roots.js"
|
||||
},
|
||||
"./plugin-sdk/channel-lifecycle": {
|
||||
"types": "./dist/plugin-sdk/channel-lifecycle.d.ts",
|
||||
"default": "./dist/plugin-sdk/channel-lifecycle.js"
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
"channel-contract",
|
||||
"channel-feedback",
|
||||
"channel-inbound",
|
||||
"channel-inbound-roots",
|
||||
"channel-lifecycle",
|
||||
"channel-pairing",
|
||||
"channel-policy",
|
||||
|
||||
2
src/plugin-sdk/channel-inbound-roots.ts
Normal file
2
src/plugin-sdk/channel-inbound-roots.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Narrow inbound media-root helpers for channel plugins.
|
||||
export { mergeInboundPathRoots } from "../media/inbound-path-policy.js";
|
||||
Reference in New Issue
Block a user