Repository navigation
Update BeatAPI plugin to v0.2.1 - #3164
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin Submission
Plugin information
Submission type
What changed
Compared with Marketplace v0.1.0, this version adds Search Capabilities, Inspect Capability, and Run Capability; image, video, and Effect tools; and shared task polling while preserving the existing music-video tools. Inspect exposes readiness and execution strategy, and Run is intended only for capabilities whose inspected contract supports it. The plugin is free to install; executing some BeatAPI capabilities consumes credits on the user's BeatAPI account.
The v0.2.1 package also expands the privacy disclosure for capability inputs and fixes the BeatAPI privacy-policy link.
Risk level
The plugin only sends requests to the fixed
https://api.beatapi.iohost. However, capability inputs can include user-supplied media URLs and social/web queries, which may contain personal data; the higher risk classification is selected for review.Required checks
.envfiles,.gitdirectories, virtual environments, caches, logs, or IDE files.PRIVACY.mdor a hosted privacy policy, andmanifest.yamlreferences it.Security and privacy notes
The plugin authenticates with an API key held in Dify's provider credential store and sends it in the Authorization header to BeatAPI. It sends the user's selected capability reference, prompts, queries, task inputs, and public media URLs to BeatAPI. BeatAPI may retrieve supplied media URLs or route task inputs to upstream providers for the requested operation. Some queries may contain personal data; users should avoid sending sensitive data unless they are authorized to process it. The plugin does not execute local commands, SQL, browser automation, or arbitrary direct network destinations, and does not persist data independently. Requests use a bounded timeout. The package contains no API key.
Local validation
PYTHONPATH=. uv run python -m unittest discover -s tests -v: 8 passed.dify plugin packagefor v0.2.1: passed..env,.git, virtual environment, tests, cache, executable, or detected embedded credential..difypkgfile.Reviewer notes
The existing v0.1.0 plugin was previously installed and exercised in Dify Cloud. The new v0.2.x capability tools have local behavior tests and were tested against the BeatAPI API during source development, but this exact v0.2.1 package has not yet been independently run in Dify Cloud or Community Edition. Please treat that as a review limitation; we can provide a workspace execution record during review. No breaking change to the two existing music-video tools is intended.