[PR #1171] feat(tools for cursor): add text outputs (keep JSON) and improve status/conversation error handling #1432

Open
opened 2026-02-22 17:57:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugins/pull/1171
Author: @LogicOber
Created: 9/1/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 0c5b632 feat(tools): add readable text outputs and resilient errors while keeping JSON
  • c5af4ea Merge branch 'langgenius:main' into main
  • c731121 Merge branch 'langgenius:main' into main

📊 Changes

1 file changed (+0 additions, -0 deletions)

View changed files

📝 logicober/cursor-background-agents/cursor-background-agents.difypkg (+0 -0)

📄 Description

Plugin Submission Form

1. Metadata

2. Submission Type

  • New plugin submission
  • Version update for existing plugin

3. Description

Release 0.0.2 focuses on output consistency, clearer summaries, and resilient error handling:

  • Output normalization
    • Add Follow-up: emits enriched JSON ({request, response}) then English text (“Add follow-up succeeded”); on failure, emits error JSON ({request, status_code, error}) then English failure text.
    • Delete Agent: emits enriched JSON ({request, response}) then English text (“Delete succeeded”); on failure, emits error JSON ({request, status_code, error}) then English failure text.
  • Agent Status: returns the original JSON and a concise English text summary (ID, Name, Created At, Source Ref/Repository, Status, Summary, Target Branch/URL) for easier use in Dify Workflow/Chatflow.
  • Agent Conversation: returns the original JSON and a short English summary (message count and first message preview). On HTTP errors (e.g., 500/409/404), emits error JSON (status code + details), then a readable English error text, and raises to surface the failure.
  • Documentation: README corrected the API key prefix from “sk_” to “key_”, plus minor clarifications.
  • Quality: all changes linted; no changes to tool parameter schemas.

4. Checklist

  • I have read and followed the Publish to Dify Marketplace guidelines
  • I have read and comply with the Plugin Developer Agreement
  • I confirm my plugin works properly on both Dify Community Edition and Cloud Version
  • I confirm my plugin has been thoroughly tested for completeness and functionality
  • My plugin brings new value to Dify

5. Documentation Checklist

  • Step-by-step setup instructions
  • Detailed usage instructions
  • All required APIs and credentials are clearly listed
  • Connection requirements and configuration details
  • Link to the repository for the plugin source code

6. Privacy Protection Information

Based on Dify Plugin Privacy Protection Guidelines:

  • Data Collection (only what’s necessary for functionality):

    • The plugin itself does not collect information, so privacy is governed entirely by https://cursor.com/.
  • I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines


🔄 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-plugins/pull/1171 **Author:** [@LogicOber](https://github.com/LogicOber) **Created:** 9/1/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`0c5b632`](https://github.com/langgenius/dify-plugins/commit/0c5b63234594e5e421092791224f2cde32dcc73c) feat(tools): add readable text outputs and resilient errors while keeping JSON - [`c5af4ea`](https://github.com/langgenius/dify-plugins/commit/c5af4ea6db65d610c4e9bd6c53c06ed8e77ee194) Merge branch 'langgenius:main' into main - [`c731121`](https://github.com/langgenius/dify-plugins/commit/c73112197935cda0c9b86f29dcb757fec6c7f44b) Merge branch 'langgenius:main' into main ### 📊 Changes **1 file changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `logicober/cursor-background-agents/cursor-background-agents.difypkg` (+0 -0) </details> ### 📄 Description ## Plugin Submission Form ### 1. Metadata - Plugin Author: logicober - Plugin Name: cursor-background-agents - Repository URL: https://github.com/LogicOber/dify-plugins ### 2. Submission Type - [ ] New plugin submission - [x] Version update for existing plugin ### 3. Description Release 0.0.2 focuses on output consistency, clearer summaries, and resilient error handling: - Output normalization - Add Follow-up: emits enriched JSON ({request, response}) then English text (“Add follow-up succeeded”); on failure, emits error JSON ({request, status_code, error}) then English failure text. - Delete Agent: emits enriched JSON ({request, response}) then English text (“Delete succeeded”); on failure, emits error JSON ({request, status_code, error}) then English failure text. - Agent Status: returns the original JSON and a concise English text summary (ID, Name, Created At, Source Ref/Repository, Status, Summary, Target Branch/URL) for easier use in Dify Workflow/Chatflow. - Agent Conversation: returns the original JSON and a short English summary (message count and first message preview). On HTTP errors (e.g., 500/409/404), emits error JSON (status code + details), then a readable English error text, and raises to surface the failure. - Documentation: README corrected the API key prefix from “sk_” to “key_”, plus minor clarifications. - Quality: all changes linted; no changes to tool parameter schemas. ### 4. Checklist - [x] I have read and followed the Publish to Dify Marketplace guidelines - [x] I have read and comply with the Plugin Developer Agreement - [x] I confirm my plugin works properly on both Dify Community Edition and Cloud Version - [x] I confirm my plugin has been thoroughly tested for completeness and functionality - [x] My plugin brings new value to Dify ### 5. Documentation Checklist - [x] Step-by-step setup instructions - [x] Detailed usage instructions - [x] All required APIs and credentials are clearly listed - [x] Connection requirements and configuration details - [x] Link to the repository for the plugin source code ### 6. Privacy Protection Information Based on Dify Plugin Privacy Protection Guidelines: - Data Collection (only what’s necessary for functionality): - The plugin itself does not collect information, so privacy is governed entirely by https://cursor.com/. - [x] I confirm that I have prepared and included a privacy policy in my plugin package based on the Plugin Privacy Protection Guidelines --- <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-22 17:57:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#1432