uni-flow 公开 API(中文注解) / SecurityConfig
Interface: SecurityConfig
Defined in: layer4/security-governance.ts:13
基础安全治理配置:工具白名单、Unit 授权、HITL 工具与默认 caller。
Properties
allowedTools?
optionalallowedTools?:string[]
Defined in: layer4/security-governance.ts:15
允许的工具名列表;未设则不按工具白名单拦截。
allowedUnits?
optionalallowedUnits?:Record<string,string[]>
Defined in: layer4/security-governance.ts:17
caller id → 允许的 Unit id 列表。
caller?
optionalcaller?:CallerIdentity
Defined in: layer4/security-governance.ts:21
默认调用方身份。
hitlTools?
optionalhitlTools?:string[]
Defined in: layer4/security-governance.ts:19
触发 HITL 的工具名。