Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / SecurityConfig

Interface: SecurityConfig

Defined in: layer4/security-governance.ts:13

基础安全治理配置:工具白名单、Unit 授权、HITL 工具与默认 caller。

Properties

allowedTools?

optional allowedTools?: string[]

Defined in: layer4/security-governance.ts:15

允许的工具名列表;未设则不按工具白名单拦截。


allowedUnits?

optional allowedUnits?: Record<string, string[]>

Defined in: layer4/security-governance.ts:17

caller id → 允许的 Unit id 列表。


caller?

optional caller?: CallerIdentity

Defined in: layer4/security-governance.ts:21

默认调用方身份。


hitlTools?

optional hitlTools?: string[]

Defined in: layer4/security-governance.ts:19

触发 HITL 的工具名。

MIT Licensed