[PR #213] [MERGED] feat(invocation): add FetchApp method to backwards invocations #373

Closed
opened 2026-02-16 01:15:46 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/213
Author: @Yeuoly
Created: 4/16/2025
Status: Merged
Merged: 4/16/2025
Merged by: @Yeuoly

Base: mainHead: feat/fetch-app-info


📝 Commits (1)

  • 22682fb feat(invocation): add FetchApp method to backwards invocations

📊 Changes

5 files changed (+53 additions, -0 deletions)

View changed files

📝 internal/core/dify_invocation/invcation.go (+2 -0)
📝 internal/core/dify_invocation/real/http_request.go (+17 -0)
📝 internal/core/dify_invocation/tester/mock.go (+6 -0)
📝 internal/core/dify_invocation/types.go (+6 -0)
📝 internal/core/plugin_daemon/backwards_invocation/task.go (+22 -0)

📄 Description

  • Introduced FetchApp method in BackwardsInvocation interface to retrieve application data.
  • Implemented FetchAppRequest type for request payload with required AppId field.
  • Updated RealBackwardsInvocation to handle FetchApp requests and return application data.
  • Added mock implementation for FetchApp in the testing suite.
  • Enhanced task handling in plugin daemon to support FetchApp invocation.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/213 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 4/16/2025 **Status:** ✅ Merged **Merged:** 4/16/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `feat/fetch-app-info` --- ### 📝 Commits (1) - [`22682fb`](https://github.com/langgenius/dify-plugin-daemon/commit/22682fb7a97e06b2dcb3f3772d87a404400461e3) feat(invocation): add FetchApp method to backwards invocations ### 📊 Changes **5 files changed** (+53 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/dify_invocation/invcation.go` (+2 -0) 📝 `internal/core/dify_invocation/real/http_request.go` (+17 -0) 📝 `internal/core/dify_invocation/tester/mock.go` (+6 -0) 📝 `internal/core/dify_invocation/types.go` (+6 -0) 📝 `internal/core/plugin_daemon/backwards_invocation/task.go` (+22 -0) </details> ### 📄 Description - Introduced FetchApp method in BackwardsInvocation interface to retrieve application data. - Implemented FetchAppRequest type for request payload with required AppId field. - Updated RealBackwardsInvocation to handle FetchApp requests and return application data. - Added mock implementation for FetchApp in the testing suite. - Enhanced task handling in plugin daemon to support FetchApp invocation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:15:46 -05:00
yindo closed this issue 2026-02-16 01:15:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#373