Feat: Add CLI to migrate plugin storage from local to cloud #452
  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.
  
    
  
    
Description
Fixes: #448
Summary
Add a CLI to migrate plugin storage from local filesystem to a cloud object store, plus bilingual docs and README links.
Motivation
Key Changes
cmd/migrate_storage/main.goplugin_packages,assets,plugin--dry-run(preview only)--only packages,assets,installed(scope control)--source-root(override local root)docs/storage-migration/guide.mddocs/storage-migration/guide_cn.mdHow To Use
.env) with the same variables used by the daemon:PLUGIN_STORAGE_TYPE(must be non-local)PLUGIN_STORAGE_OSS_BUCKETPLUGIN_STORAGE_LOCAL_ROOT(defaults to./storage)Notes and Constraints
PLUGIN_STORAGE_TYPE=local.install_typeor installation records.File References
cmd/migrate_storage/main.godocs/storage-migration/guide.mddocs/storage-migration/guide_cn.mdREADME.md(adds “Storage Migration” section)Known Limitations
Type of Change
Essential Checklist
Testing
Bug Fix (if applicable)
Fixes #123orCloses #123)Additional Information
1. Migration Command Screenshot
2. Cloud OSS Screenshot
3. Change Plugin Storage Type
4. Restart Plugin Daemon
I deleted the cwd folder to test the initialization of loading the plugin from the cloud. The plugin daemon runs successfully
5. Test the Plugin in Dify
Please provide any additional context that would help reviewers understand the changes.