Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Louisym/MiniCC
/ PermissionDecision
Class
PermissionDecision
tutorials/04_permission_system.py:84–87 ·
view source on GitHub ↗
用户的决定 —— 允许还是拒绝。
Source
from the content-addressed store, hash-verified
82
83
@dataclass(frozen=True)
84
class
PermissionDecision:
85
""
"用户的决定 —— 允许还是拒绝。"
""
86
allowed: bool
87
reason: str =
""
88
89
90
class
PermissionPrompter(Protocol):
Callers
3
decide
Method · 0.70
decide
Method · 0.70
decide
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected