Commit Graph

16 Commits

Author SHA1 Message Date
Harry b3ca486f68 chore: bump GitHub trigger plugin version to 1.4.1 and update dify_plugin version to 0.6.0b14 2025-10-29 00:44:12 +08:00
Harry 39a9a04d64 chore: bump plugin version to 0.6.0b13 and update response field in TriggerDispatchResponse model
- Updated version in pyproject.toml and requirements.txt to 0.6.0b13.
- Changed 'raw_http_response' to 'response' in TriggerDispatchResponse model for clarity.
- Updated GitHub trigger manifest version to 1.3.8.
2025-10-20 12:28:33 +08:00
Harry 5fd7b4676f chore: bump GitHub trigger plugin version to 1.3.0 and update dify_plugin version to 0.6.0b11
- Updated the version in manifest.yaml from 1.2.2 to 1.3.0.
- Updated the version of dify_plugin from 0.6.0b9 to 0.6.0b11 in requirements.txt.

These changes ensure the plugin is up-to-date with the latest versions.
2025-10-14 11:30:36 +08:00
Harry 0f7d824c66 refactor: update OAuth provider instance retrieval and enhance type annotations
- Modified the `_get_oauth_provider_instance` method in `PluginExecutor` to accept a `Session` parameter and return the appropriate OAuth provider instance.
- Updated the `get_supported_oauth_provider_cls` method in `PluginRegistration` to `get_supported_oauth_provider`, improving its signature and functionality.
- Enhanced type annotations across methods to improve clarity and type safety.

These changes streamline the OAuth provider handling and improve code maintainability.
2025-10-11 21:55:36 +08:00
Harry 8cdd62509d refactor: enhance trigger subscription handling and improve type annotations
- Updated the PluginExecutor and related classes to improve type annotations and clarity, particularly in methods handling OAuth credentials and trigger subscriptions.
- Refactored the PluginRegistration and TriggerFactory classes to streamline the retrieval of trigger providers and event handlers, ensuring better type safety and consistency.
- Adjusted the YAML loader function to specify return types, enhancing code readability and maintainability.

These changes improve the overall structure and usability of the trigger subscription system, making it more robust and easier to understand.
2025-10-11 21:09:12 +08:00
Harry d6fa7bfb7e chore: bump dify_plugin version to 0.6.0b7 and update trigger event handling
- Updated the version in pyproject.toml from 0.6.0b6 to 0.6.0b7.
- Renamed trigger-related methods and classes for clarity, changing invoke_trigger to invoke_trigger_event and updating associated request and response classes.
- Adjusted event handling in the GithubTrigger class to improve event dispatching.

These changes ensure the plugin is up-to-date and enhance the clarity and functionality of event handling.
2025-10-10 19:31:28 +08:00
Harry 656037254e chore: bump dify_plugin version to 0.6.0b6 in pyproject.toml
- Updated the version of dify_plugin from 0.6.0b5 to 0.6.0b6 in pyproject.toml.

This change ensures that the project dependencies are aligned with the latest plugin version.
2025-10-10 13:10:44 +08:00
Harry 2cdfedd73a chore: bump dify_plugin version to 0.6.0b5 in pyproject.toml and requirements.txt
- Updated the version of dify_plugin from 0.6.0b4 to 0.6.0b5 in both pyproject.toml and requirements.txt.

This change ensures that the project dependencies are aligned with the latest plugin version.
2025-10-09 17:45:15 +08:00
Harry c472010000 chore: update manifest and requirements for plugin version bump
- Adjusted the indentation in manifest.yaml for better YAML formatting.
- Bumped the dify_plugin version from 0.6.0b4 to 0.6.0b5 in requirements.txt.

These changes ensure the project reflects the latest plugin version and maintains proper configuration formatting.
2025-10-09 15:40:04 +08:00
Harry a9b6abf9fc refactor: update trigger and event terminology across the codebase
- Renamed classes and methods related to triggers to use "Event" terminology for consistency and clarity.
- Updated the PluginExecutor, PluginRegistration, and TriggerFactory to reflect the new event handling structure.
- Adjusted YAML configurations and example implementations to align with the new event definitions.
- Enhanced the .gitignore file to include .DS_Store and ensure cleaner project management.

These changes improve the overall coherence of the codebase and enhance the clarity of event-driven functionality.
2025-09-30 20:10:16 +08:00
Harry 641b27e76a chore: bump version to 0.6.0b2 in pyproject.toml and update requirements
- Updated the version of the dify_plugin from 0.6.0b1 to 0.6.0b2 in pyproject.toml.
- Adjusted the requirements.txt file to reflect the new plugin version.

These changes ensure that the project dependencies are aligned with the latest plugin version.
2025-09-29 19:00:01 +08:00
Harry a04bdfdcf7 chore: bump dify_plugin version to 0.6.0b1 in pyproject.toml and requirements.txt 2025-09-08 23:49:20 +08:00
Harry 79992502b7 chore: bump dify_plugin version to 0.4.5b3 in requirements.txt 2025-09-08 23:43:34 +08:00
Harry 7d46f19c92 chore: update version to 0.0.3 in manifest.yaml and bump dify_plugin to 0.4.5b2 in requirements.txt 2025-09-05 17:38:49 +08:00
Harry 64b0e98998 chore: update dify_plugin version to 0.4.5b1 in requirements.txt 2025-09-03 14:45:02 +08:00
Harry f05cbce8f8 feat(trigger): implement trigger provider functionality and actions 2025-08-26 20:52:57 +08:00