dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
模型顺序:在「设置 → 模型」的提供方卡片里拖动调整;卡片格被别的插件占用时,入口在设置左导航的「模型顺序」分区。顺序通过宿主 settings 服务带版本校验写回,设置页与模型选择器保持同步;设置左导航本身也可拖拽排序。
模型顺序 + 原生列表排序。
describe + mutate + revision),一次拖动 = 一个 insertBefore move。settings.models.provider-card 的 llm-pi-ai 格空闲时直接挂卡片格(和 DeepSeek 卡片同一位置、同款样式);被别的插件(如 web-all「模型能力」)占住时才退回原生设置分区「模型顺序」。~/.dsh/ui-order.json(GET/PUT /dsh-model-priority/ui-order.json),刷新后保持。dsh plugin --profile web add github:mengge237/dsh-model-priority
本地开发用 dsh plugin --profile web add link:/path/to/dsh-model-priority,装完重启一次 dsh web。
providers.<route>.models 的顺序;没有 ctx.settings 时返回 503,不写文件。settings.section(id model-priority,order 55)。lib/lists.js:registerList({ id, read, write })。新增可排序列表 = 注册适配器,move 路由与前端拖动复用。
npm test(不启动宿主)。