mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-21 17:25:23 -04:00
69cb144fe0
- Updated the .dify_cli.json configuration to include cli_api_url, cli_api_session_id, and cli_api_secret for improved API interaction. - Refactored the callDifyAPI and fetchProviders functions to utilize the new CLI API structure, including HMAC signature generation for enhanced security. - Modified EnvConfig to reflect the new CLI API parameters, ensuring required fields are validated. This update enhances the security and functionality of the CLI by transitioning to a new API structure and improving request handling.