MCPcopy 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)
84class PermissionDecision:
85 """用户的决定 —— 允许还是拒绝。"""
86 allowed: bool
87 reason: str = ""
88
89
90class PermissionPrompter(Protocol):

Callers 3

decideMethod · 0.70
decideMethod · 0.70
decideMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected