zby1211/cordis-transfer-plugin1

cordis-transfer-plugin

DSH 动态 Cordis 插件导入与导出插件,支持将选定插件打包为 zip 下载,或上传本地 zip 进行导入。

AI 分析

核心用途是备份、迁移和分享动态插件。适合需要在不同设备间同步插件配置,或向他人分享自定义插件包的用户。

套件
cordis-transfer-plugin
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zby1211/cordis-transfer-plugin

cordis-transfer-plugin

A persistent DSH plugin for importing and exporting dynamic Cordis Plugins. It provides two interfaces: model tools (callable by the agent) and a browser Settings panel for download/upload workflows.

中文说明见 README_CN.md

Browser panel

Open Settings → Plugins → Import / Export:

  • List the current session's dynamic plugins (multi-select)
  • Export bundle: select one or more plugins (optional manifest name/description) and download a .dsh-cordis-bundle.zip; selecting a single plugin produces a zip containing only that plugin
  • Import bundle: pick a local .zip file, upload it to the Host, and import; imported plugins appear in the Cordis Plugin panel and can be activated there

Model tools

ToolPurpose
cordis_plugin_listList all dynamic Cordis Plugins in the current session
cordis_plugin_bundle_exportExport one or more plugins as a zip bundle file
cordis_plugin_bundle_importImport plugins from a zip bundle

Installation

This is a static profile bundle (not an in-memory dynamic plugin). Install the tarball from GitHub Releases:

  1. Download the latest cordis-transfer-plugin-.tgz from Releases.
  2. Install it into the web profile:
    dsh plugin --profile web add /path/to/cordis-transfer-plugin-.tgz
    
  3. Make sure the profile registers the bundle in $DSH_HOME/profiles/web/package.json:
    {
      "dsh": {
        "profile": {
          "bundles": ["...", "cordis-transfer-plugin"]
        }
      },
      "dependencies": {
        "cordis-transfer-plugin": "file:
    

/cordis-transfer-plugin-.tgz" } }

4. Restart `dsh web` and open **Settings → Plugins → Import / Export**.

## Documentation

- [Code structure and implementation](https://github.com/zby1211/cordis-transfer-plugin/blob/cef751f460c84bff0adc2e2dff5e550f84540ec2/doc/architecture.md)
- [Bundle file format](https://github.com/zby1211/cordis-transfer-plugin/blob/cef751f460c84bff0adc2e2dff5e550f84540ec2/doc/file-format.md)
- [Build and verification](https://github.com/zby1211/cordis-transfer-plugin/blob/cef751f460c84bff0adc2e2dff5e550f84540ec2/doc/development.md)