mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #179] [MERGED] feat[0.4.2]: Tool OAuth #205
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/179
Author: @Mairuis
Created: 7/14/2025
Status: ✅ Merged
Merged: 7/23/2025
Merged by: @Yeuoly
Base:
main← Head:feat/plugin-oauth📝 Commits (10+)
2aedda0chore: fix ruff issue0ec96aefeat(oauth): implement OAuth799bea4feat(invoke-message): refactor message handling and introduce InvokeMessage classb4a9ef2feat(plugin-oauth): add credential_id and credential_type to tool parameters88f6f63feat(plugin-oauth): add credential_id and credential_type to tool parameters8db6eeachore: update dify_plugin version to 0.5.0b4 and clean up github.yaml1621c0cchore: update plugin version to 0.1.2 in manifest.yaml3f1899afeat(session): session context and tool backwards invocation credential supportd846ab2feat(oauth): session context and tool backwards invocation credential supportde69acaMerge branch 'main' into feat/plugin-oauth📊 Changes
101 files changed (+3313 additions, -544 deletions)
View changed files
➕
.gitignore(+12 -0)📝
README.md(+3 -2)📝
python/dify_plugin/config/config.py(+2 -3)📝
python/dify_plugin/config/integration_config.py(+1 -1)📝
python/dify_plugin/core/documentation/schema_doc.py(+7 -7)📝
python/dify_plugin/core/entities/plugin/io.py(+13 -10)📝
python/dify_plugin/core/entities/plugin/request.py(+23 -9)📝
python/dify_plugin/core/entities/plugin/setup.py(+23 -26)📝
python/dify_plugin/core/plugin_executor.py(+22 -7)📝
python/dify_plugin/core/runtime.py(+55 -17)📝
python/dify_plugin/core/server/__base/filter_reader.py(+4 -4)📝
python/dify_plugin/core/server/__base/response_writer.py(+6 -7)📝
python/dify_plugin/core/server/__base/writer_entities.py(+2 -3)📝
python/dify_plugin/core/server/io_server.py(+13 -10)📝
python/dify_plugin/core/server/router.py(+2 -2)📝
python/dify_plugin/core/server/serverless/request_reader.py(+1 -0)📝
python/dify_plugin/core/server/stdio/request_reader.py(+1 -0)📝
python/dify_plugin/core/server/tcp/request_reader.py(+3 -2)📝
python/dify_plugin/entities/__init__.py(+3 -5)📝
python/dify_plugin/entities/agent.py(+14 -16)...and 80 more files
📄 Description
🚀 What’s New in v0.4.2? 🚀
Welcome to version 0.4.2! This release focuses on OAuth integration, enhanced message handling, and general codebase improvements. Here’s a quick rundown:
🔑 OAuth Implementation
credential_idandcredential_typehave been added to tool parameters, allowing for more flexible configuration options.🛠️ Message Handling and Improvements
InvokeMessagefeature for improved efficiency and scalability.📦 Codebase Updates
.gitignoreto exclude unnecessary files like IDE configs and secret keys, keeping the repo clean.Version 0.4.2 enhances integration capabilities with OAuth and fine-tunes internal processes — all designed to make your development experience smoother. Happy coding! 🎉
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.