mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 10:25:23 -04:00
826a6df1a8
- Updated `PluginExecutor` to return a result upon validating provider credentials. - Renamed `ValidateProviderCredentials` to `ValidateTriggerCredentials` for consistency in trigger actions. - Improved the `PluginRegistration` class to return OAuth schemas for registered providers. - Added new error classes for better handling of trigger provider credential validation and OAuth errors. - Refactored HTTP request and response serialization/deserialization for improved clarity and functionality. - Enhanced GitHub provider to utilize new error handling and validation mechanisms. This commit improves the overall structure and error management of the trigger system, ensuring better integration and usability.