程序包 io.agentscope.core.permission
package io.agentscope.core.permission
Tool-permission evaluation engine for AgentScope Java.
The package hosts PermissionEngine, PermissionMode,
PermissionRule, PermissionContextState, PermissionDecision
and PermissionBehavior. The evaluation order is:
deny → ask → tool self-check → allow → BYPASS → default ASK
-
类说明A directory included in a permission context's working scope.Outcome of a permission rule or tool self-check.Permission evaluation context: mode + working directories + three rule tables.Decision returned by a permission rule match or a tool self-check.Evaluates tool execution requests against configured permission rules.Permission mode controlling how the engine evaluates tool execution requests.A single permission rule pinned to a tool name.