fix: harden Cursor hooks

This commit is contained in:
ZacharyZhang-NY committed 2026-07-19 23:48:02 -04:00
1 parent 3e7786bb73
commit 6cb7ef188d
11 files changed
+1280 -172

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ class PluginStatus(TypedDict):
class AgentPlugin(ABC):
"""Base class for all agent plugins."""
manages_guard_runtime = False
def preflight_install(self, config: InstallConfig) -> None:
"""Validate provider sources before the CLI creates runtime files."""
@abstractmethod
def install(self, config: InstallConfig) -> None:
"""Install the Elydora hook for this agent."""