Commit Graph

696 Commits

Author SHA1 Message Date
Yeuoly 90fe40b8b7 Merge branch 'feat/dynamic-select' into feat/trigger 2025-06-23 20:59:12 +08:00
Yeuoly 24c77fafae feat: implement dynamic parameter fetching functionality
- Added DynamicParameterFetchParameterOptionsRequest class for dynamic parameter requests.
- Introduced DynamicParameterActions enum for action types related to dynamic parameters.
- Enhanced PluginExecutor with methods to handle dynamic parameter fetching.
- Updated Tool interface to include a method for fetching parameter options.
- Documented the DynamicSelectProtocol for clarity on its usage.
2025-06-23 20:56:04 +08:00
Yeuoly ffc06fa5c0 Merge branch 'feat/dynamic-select' into feat/trigger 2025-06-23 18:07:53 +08:00
Yeuoly 503db4ced5 feat: add dynamic select support
- Introduced ParameterOption class for parameter options with value, label, and optional icon.
- Updated ToolParameterOption to inherit from ParameterOption.
- Added DYNAMIC_SELECT to CommonParameterType enum.
- Implemented fetch_parameter_options method in Tool class for fetching parameter options.
- Created DynamicSelectProtocol for dynamic select functionality.
- Added tests for Tool construction and parameter options fetching.
2025-06-23 18:06:19 +08:00
Yeuoly 0df3d13ec6 fix: linter 2025-06-23 17:53:09 +08:00
Yeuoly 4bc3d18364 feat: add trigger functionality and dynamic select parameter support
- Introduced new `Trigger` and `TriggerProvider` classes for handling trigger operations.
- Added `TriggerResponse`, `TriggerRuntime`, and `TriggerParameter` models to manage trigger data.
- Implemented `DynamicSelectProtocol` for dynamic parameter options.
- Updated `ToolParameterOption` to inherit from `ParameterOption`.
- Enhanced `CommonParameterType` with `DYNAMIC_SELECT` option.
- Added tests for `TriggerProvider` and `Trigger` to ensure proper functionality.
2025-06-23 17:51:21 +08:00
Harry b1e745603d feat: Plugin OAuth 2025-06-23 14:25:17 +08:00
Novice 98d30068f7 chore: bump version to 0.3.5 2025-06-20 14:50:49 +08:00
Novice 0d1add3434 fix: update array parameter tool error 2025-06-20 11:27:24 +08:00
Dongyu Li 679e645638 feat: update notion datasource example 2025-06-20 10:49:09 +08:00
Novice bdcbd46ab7 chore: bump version to 0.3.4 2025-06-19 16:59:52 +08:00
Novice 31d2edc099 fix: handle mcp array and object type 2025-06-19 16:54:54 +08:00
Dongyu Li 4c00e1e753 feat: update OnlineDocumentPage and bump version to 0.4.0b8 2025-06-19 09:49:03 +08:00
Dongyu Li 1830ab4aa2 feat: update OnlineDocumentPage and bump version to 0.4.0b7 2025-06-18 15:55:53 +08:00
Dongyu Li cb5206f917 feat: add notion datasource example 2025-06-18 13:43:58 +08:00
Dongyu Li b18e8e2e14 feat: bump version to 0.4.0b6 2025-06-17 14:32:12 +08:00
Novice 9030de3782 chore: bump version to 0.3.3 2025-06-17 10:29:42 +08:00
Novice aa1ff01532 feat: agent plugin handle object and array type
feat: agent plugin handle object and array type
2025-06-17 09:54:52 +08:00
Harry 29fd8a6311 feat: datasource 2025-06-13 10:20:10 +08:00
Harry cc31f2848c feat: datasource 2025-06-12 22:57:38 +08:00
Harry 63a8a5da25 feat: datasource 2025-06-12 18:59:21 +08:00
Harry 4f25923fc6 feat: streaming datasource 2025-06-12 18:29:40 +08:00
Dongyu Li 989edf9653 feat: website crawl response add default value 2025-06-12 17:59:21 +08:00
Dongyu Li 826a6dbf9e feat: update website crawl response and update version to 0.4.0b5 2025-06-12 17:36:29 +08:00
Dongyu Li 6a42ed894b feat: update website crawl response and update version to 0.4.0b6 2025-06-12 16:18:37 +08:00
Dongyu Li d0460c2443 feat: update website crawl response and update version to 0.4.0b6 2025-06-12 16:18:20 +08:00
Harry 9d0e038d3a feat: streaming datasource 2025-06-11 18:35:10 +08:00
Dongyu Li 87609ba7f7 feat: update datasource response message and update version to 0.4.0b5 2025-06-11 17:06:36 +08:00
Dongyu Li 4ff33e34b6 feat:update datasource entity and update pyproject.toml to 0.4.0b4 2025-06-09 14:38:39 +08:00
Dongyu Li 41403c4392 feat:update pyproject.toml to 0.4.0b3 2025-06-06 17:26:58 +08:00
Kalo Chin eb96d1c1c7 chore: update version constraint for dify_plugin to 0.3.0,<0.4.0 in README.md (#154) 2025-06-06 17:26:43 +08:00
Dongyu Li e12eb45e06 feat:update GetWebsiteCrawlResponse entity 2025-06-06 17:15:50 +08:00
Yeuoly 30730d5686 Update pyproject.toml 2025-06-05 17:31:16 +08:00
Novice 95d1ea0bdb feat: agent plugin handle object and array type 2025-06-05 14:36:27 +08:00
Dongyu Li edc5d4b666 feat:add datasource router 2025-06-05 10:34:18 +08:00
Novice 66d21b7af5 bump version to 0.3.2 2025-06-03 18:09:14 +08:00
Yeuoly 398337aad1 chore: bump version to 0.4.0b1 in pyproject.toml 2025-05-30 15:23:39 +08:00
Novice f86b87c689 fix: remove the unused file 2025-05-29 09:42:33 +08:00
Novice 19dc991d25 chore: remove the unused file 2025-05-28 15:48:10 +08:00
Novice f614c4345c feat: add mcp tool type 2025-05-28 15:43:55 +08:00
Dongyu Li b7ef900b2f feat:update GetOnlineDocumentPageContentRequest entity 2025-05-27 17:21:20 +08:00
Yeuoly 70de2582e2 bump to 0.3.1 (#151) 2025-05-27 14:36:40 +08:00
Yeuoly cc4a611b0c feat: enhance PluginRunner to build plugins from source directories (#150)
* feat: enhance PluginRunner to build plugins from source directories

- Added functionality to the PluginRunner to detect if the plugin package path is a directory and build the plugin accordingly.
- Introduced a new method `_build_plugin` to handle the building process and log the output.
- Implemented resource cleanup for temporary directories used during the build process.
- Updated integration tests to reflect changes in the mock server configuration by using a constant for the server port.

* fix: linter
2025-05-27 14:04:26 +08:00
Yeuoly 3256fa242a update requirements 2025-05-26 18:15:37 +08:00
Yeuoly 90baa05be6 apply ruff 2025-05-26 18:14:02 +08:00
Yeuoly 0c90ad0f86 feat: impl datasource oauth 2025-05-26 17:44:12 +08:00
Yeuoly 1b410adfc3 refactor: update Notion datasource configuration and provider
- Removed the `provider` field from `DatasourceIdentity` in the manifest.
- Added identity and description fields to `notion.yaml` for better clarity.
- Enhanced `notion.py` with OAuth methods for authorization and credential handling.
- Updated `notion.yaml` to include icon and provider type information.
2025-05-26 15:40:24 +08:00
Yeuoly 4d9732c6fa apply ruff 2025-05-23 20:06:35 +08:00
Yeuoly 896454b9ab add examples 2025-05-23 20:04:43 +08:00
Yeuoly 8f028d2832 feat: add datasource declaration handling in plugin initialization
- Implemented logic to write a datasource declaration message when a datasource configuration is present during plugin initialization.
- Introduced a new message type, `DATASOURCE_DECLARATION`, in the `InitializeMessage` class to support this functionality.
2025-05-23 19:17:15 +08:00