mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 08:00:21 +00:00
perf(secrets): narrow channel secret sdk seam
This commit is contained in:
30
src/plugin-sdk/channel-secret-runtime.ts
Normal file
30
src/plugin-sdk/channel-secret-runtime.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
// Narrow shared secret-contract exports for channel/plugin secret surfaces.
|
||||
|
||||
export {
|
||||
collectConditionalChannelFieldAssignments,
|
||||
collectNestedChannelFieldAssignments,
|
||||
collectNestedChannelTtsAssignments,
|
||||
collectSimpleChannelFieldAssignments,
|
||||
getChannelRecord,
|
||||
getChannelSurface,
|
||||
hasConfiguredSecretInputValue,
|
||||
isBaseFieldActiveForChannelSurface,
|
||||
normalizeSecretStringValue,
|
||||
resolveChannelAccountSurface,
|
||||
} from "../secrets/channel-secret-collector-runtime.js";
|
||||
export type {
|
||||
ChannelAccountEntry,
|
||||
ChannelAccountPredicate,
|
||||
ChannelAccountSurface,
|
||||
} from "../secrets/channel-secret-collector-runtime.js";
|
||||
export {
|
||||
collectSecretInputAssignment,
|
||||
hasOwnProperty,
|
||||
isEnabledFlag,
|
||||
pushAssignment,
|
||||
pushInactiveSurfaceWarning,
|
||||
pushWarning,
|
||||
} from "../secrets/runtime-shared.js";
|
||||
export type { ResolverContext, SecretDefaults } from "../secrets/runtime-shared.js";
|
||||
export { isRecord } from "../secrets/shared.js";
|
||||
export type { SecretTargetRegistryEntry } from "../secrets/target-registry-types.js";
|
||||
Reference in New Issue
Block a user