MCPcopy Create free account
hub / github.com/Louisym/MiniCC / decide

Method decide

tutorials/04_permission_system.py:113–114  ·  view source on GitHub ↗
(self, request: PermissionRequest)

Source from the content-addressed store, hash-verified

111class AlwaysDenyPrompter:
112 """总是拒绝 —— 用于测试。"""
113 def decide(self, request: PermissionRequest) -> PermissionDecision:
114 return PermissionDecision(allowed=False, reason="auto-denied for safety")
115
116
117class InteractivePrompter:

Callers

nothing calls this directly

Calls 1

PermissionDecisionClass · 0.70

Tested by

no test coverage detected