Skip to main content

Module permission_cache

Module permission_cache 

Source
Expand description

ACP (Agent Collaboration Protocol) support for IDE integrations

Provides session-scoped permission management and IDE-specific helpers.

Structs§

PermissionCache
Generic permission cache that works for any hashable key type. Eliminates duplication between file-based and tool-based caches.
PermissionCacheStats
Cache statistics (shared between all permission cache types)

Enums§

PermissionGrant
Permission grant decision

Type Aliases§

AcpPermissionCache
Session-scoped permission cache for ACP hosts (Zed, VS Code, etc.)
ToolPermissionCache
Tool-level permission cache - caches approvals for tool execution
ToolPermissionCacheStats
Alias for ToolPermissionCacheStats (same struct)