This document provides detailed steps on how to package a Dify plugin project as a local file and share it with others. It covers the preparation work before packaging a plugin, using the Dify plugin development tool to execute packaging commands, how to install the generated .difypkg file, and how to share plugin files with other users.
dify version
command in the terminal to check if it outputs version information to confirm that the necessary development tools have been installed.
Before packaging the plugin, please ensure that theAfter completing the plugin project development, make sure you have completed the remote debugging test. Navigate to the directory above your plugin project and run the following plugin packaging command:author
field in the plugin’smanifest.yaml
file and the.yaml
file under the/provider
path is consistent with your GitHub ID. For detailed information about the manifest file, please refer to General Specifications.
.difypkg
extension will be generated in the current path.