DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

demian-trade-suite-dsh-plugin

d

demian-trade-suite-dsh-plugin

Manifest valid

Adds a Trade Desk panel to the DSH sidebar for foreign-trade documents and container loading: quotation, PI/CI/PL/contract/customs documents, carton loading plans and a step-by-step loading animation.

UI (client)hasBundlePatch

外贸工作台 · DSH 插件

把外贸单证、装柜计算与报价工作台接入 DeepSeek Harness Web UI。

工作台

功能

  • 装柜计算:20GP / 40GP / 40HQ / 45HQ、4.2–7.6 米货车;多货物、包装填充、堆码/承压、摆放方向、间隙、整托;CBM、毛净重、装载率、重量饱和度、重心偏移、底层压强
  • 装柜动画:按当前方案逐层播放,HUD 显示柜型、总箱数、箱规、层数与箱数;支持暂停 / 继续 / 重播
  • 外贸单证:报价单、PI、CI、销售合同、装箱单、出口报关单、代理报关委托书;A4 实时预览、整套打印、金额大写、定金/尾款拆分
  • 卖方信息:公司抬头、地址、税号、银行、Logo、公章、签名集中填写;保存后新建订单自动带出
  • 导出:装柜方案 PDF、单证 PDF、草稿 JSON

安装

从 npm

dsh plugin --profile <profile> add dsh-plugin-demian-trade-suite

或使用官方桌面端:Settings → Plugins,搜索 dsh-plugin-demian-trade-suite 安装。刷新 DSH Web GUI 后,左侧栏出现 「外贸工作台」。

从 GitHub Release(推荐)

  1. 下载 最新 Release 里的 demian-trade-suite-dsh-plugin.zip
  2. 解压,得到 demian-trade-suite-plugin/ 目录
  3. 打开 DSH Plugin Manager → 安装本地 bundle,选择这个目录
  4. 刷新 DSH Web GUI,左侧栏出现 「外贸工作台」

从源码

git clone https://github.com/southcul/demian-trade-suite-dsh-plugin.git

然后在 DSH Plugin Manager 里选择仓库根目录安装 bundle,刷新页面。

使用

点击左侧栏的「外贸工作台」图标,中间栏会打开完整工作台:

  • 顶部切换 装柜计算 / 外贸单证
  • 装柜页点「载入示例」或「开始计算」播放动画
  • 单证页顶部「卖方信息」填一次并保存,之后自动带出
  • 单证页右上「预览并打印 A4 单据」

结构

文件作用
index.jsHost 半:在 DSH 同源 Web 服务上提供 /plugins/demian-trade-suite/workbench.html
client.jsClient 半:左侧栏入口 + 中间栏 iframe 页面
assets/workbench.html现有单文件工作台,原样打包
locale/*.json插件标题 / 描述
icon.svg插件图标
scripts/package.py重新生成 Release zip

数据与迁移

  • 插件运行在 DSH 的 origin(默认 http://127.0.0.1:13807)。
  • 直接双击 workbench.html 时是 file:// origin;两者的 localStorage 不共享。
  • 需要迁移旧数据时,在旧版用「导出」保存草稿,再在插件版「导入」;卖方信息包含在草稿里。

说明与边界

  • 现有版本是完整的单文件应用,本插件用同源 iframe 作为兼容层,避免重写单证、画布和打印逻辑。
  • 切换到其他侧栏页面时 iframe 会被卸载;工作台会自动保存草稿,回来后会恢复。
  • 插件只负责 UI 入口;Agent 出单技能需另装 demian-trade-suite。
  • 如果要完全贴合 DSH 主题的原生 React 面板,需要后续把工作台拆成组件。

开发

python scripts/package.py

产物:dist/demian-trade-suite-dsh-plugin.zip,只含安装需要的文件。

License

MIT

Comments

Loading…

Similar plugins

dsh-task-console

by He2way

DSH client plugin: flip the page over to a glass task console — live jobs, subagents, session and workspace cards, an infinite canvas that unrolls a card into its own controls, embedded web apps, and a conversation box that edits the canvas.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-task-console

by CHAAAAA

DeepSeek Harness(DSH)的项目与工程管理插件,把需求、项目文档、Git 提交、AI 提交信息、代码评审、工作树、后台任务与周报聚合到一个侧边栏工作台里。

Manifest valid

★ 0

MIT

TypeScript

Nov 2, 2026

dsh plugin --profile web add dsh-devbench-plugin

by xuexiaolei1997

Financial quantitative workbench and stock ticker: floating ball and drawer panel, real-time A/HK/US/global market quotes, multi-period K-lines and 5-day intraday charts, depth order book, capital flo

UI & ExperienceManifest valid

★ 8

MIT

JavaScript

Sep 7, 2026

dsh plugin --profile web add dsh-plugin-stock-x

A Codex-style right side panel for the DSH Web UI — session artifacts browser (live file tree, scan include, preview, reveal) plus a side chat that forks the current session with a model picker, human

Workflow & AutomationUI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-sidepanel

by rans725

Sidebar workspace panel that switches between running tasks and all conversations, shown as one freely sortable card list with per-card pin, rename, copy ID, fork, stop, and archive actions.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-workspace-ranswork

by rivenshanghai

Collapses the global panel entries above the workspace in the DSH Web sidebar into a single toggle in the sidebar footer.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-toomuch-plugins