@ljwei-stak/dsh-model-router 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dsh-plugin/client.js +3092 -0
- package/.dsh-plugin/index.mjs +1651 -0
- package/.dsh-plugin/official-tools-remote-service.mjs +104 -0
- package/.dsh-plugin/shared/harness-plan.mjs +179 -0
- package/.dsh-plugin/shared/livebench.mjs +264 -0
- package/.dsh-plugin/shared/model-profiles.mjs +142 -0
- package/.dsh-plugin/shared/official-team-runtime.mjs +411 -0
- package/.dsh-plugin/shared/official-tool-executor.mjs +801 -0
- package/.dsh-plugin/shared/official-tool-registry.mjs +138 -0
- package/.dsh-plugin/shared/official-tools-remote.mjs +173 -0
- package/.dsh-plugin/shared/official-tools-runtime.mjs +642 -0
- package/.dsh-plugin/shared/router-state.mjs +207 -0
- package/.dsh-plugin/shared/router.mjs +1134 -0
- package/.dsh-plugin/shared/routing-presets.mjs +49 -0
- package/.dsh-plugin/shared/run-ledger.mjs +348 -0
- package/.dsh-plugin/shared/security-boundaries.mjs +54 -0
- package/.dsh-plugin/shared/subscription-billing.mjs +340 -0
- package/.dsh-plugin/shared/task-executors.mjs +1154 -0
- package/.dsh-plugin/shared/tool-health.mjs +311 -0
- package/.dsh-plugin/shared/vendor-mimo-grok-adapter.mjs +308 -0
- package/.dsh-plugin/shared/vendor-minimax-adapter.mjs +247 -0
- package/.dsh-plugin/shared/zcode-bundle.mjs +208 -0
- package/.dsh-plugin/shared/zcode-installer.mjs +247 -0
- package/CHANGELOG.md +36 -0
- package/INSTALLATION_GUIDE.zh.md +134 -0
- package/LICENSE +21 -0
- package/MIGRATION.md +53 -0
- package/README.i18n.yaml +3 -0
- package/README.md +424 -0
- package/README.zh.md +413 -0
- package/cordis.patch.yml +12 -0
- package/docs/assets/candidate-pruning.svg +80 -0
- package/docs/assets/desktop-official-tools-0.9.0.png +0 -0
- package/docs/assets/router-only-0.12.0.png +0 -0
- package/docs/assets/routing-workflow.svg +96 -0
- package/docs/assets/workbench-usage.svg +119 -0
- package/package.json +161 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 835" role="img" aria-labelledby="title description">
|
|
2
|
+
<title id="title">Model Router Galgame 的任务规划与执行流程</title>
|
|
3
|
+
<desc id="description">插件读取用户任务、DeepSeek Harness 已配置的模型目录和用户填写的模型画像,在本地识别复杂度、拆分工作包、按质量约束与 Pareto 候选筛选,最后使用有界组合搜索生成建议。官方工具执行需要在会话中另行触发。</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="background" x2="1" y2="1">
|
|
6
|
+
<stop offset="0" stop-color="#f5f8ff"/>
|
|
7
|
+
<stop offset="1" stop-color="#eef6f5"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient id="plan" x2="1" y2="0">
|
|
10
|
+
<stop offset="0" stop-color="#e4edff"/>
|
|
11
|
+
<stop offset="1" stop-color="#e5f4ef"/>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
|
14
|
+
<path d="M1 1 L9 5 L1 9" fill="none" stroke="#6385aa" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
15
|
+
</marker>
|
|
16
|
+
<style>
|
|
17
|
+
text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; fill: #1e314d; }
|
|
18
|
+
.heading { font-size: 35px; font-weight: 730; }
|
|
19
|
+
.subheading { font-size: 19px; fill: #59718d; }
|
|
20
|
+
.eyebrow { font-size: 17px; font-weight: 700; fill: #355da7; letter-spacing: 2px; }
|
|
21
|
+
.card-title { font-size: 24px; font-weight: 700; }
|
|
22
|
+
.card-copy { font-size: 19px; fill: #53667f; }
|
|
23
|
+
.small { font-size: 17px; fill: #5a6f86; }
|
|
24
|
+
.stage-number { font-size: 18px; font-weight: 750; fill: #fff; }
|
|
25
|
+
.link { fill: none; stroke: #7c9bb9; stroke-width: 3; marker-end: url(#arrow); }
|
|
26
|
+
.divider { fill: none; stroke: #bdccdc; stroke-width: 2; }
|
|
27
|
+
</style>
|
|
28
|
+
</defs>
|
|
29
|
+
|
|
30
|
+
<rect width="1440" height="835" rx="24" fill="url(#background)"/>
|
|
31
|
+
<text x="52" y="66" class="heading">一个任务如何变成可执行工作包</text>
|
|
32
|
+
<text x="52" y="103" class="subheading">0.9.0 实现路径 · 规划在本地完成 · 执行须在官方会话中显式调用</text>
|
|
33
|
+
|
|
34
|
+
<text x="53" y="154" class="eyebrow">输入</text>
|
|
35
|
+
<rect x="51" y="174" width="425" height="105" rx="17" fill="#fff" stroke="#d7e3ef" stroke-width="2"/>
|
|
36
|
+
<circle cx="83" cy="210" r="10" fill="#5e7fda"/>
|
|
37
|
+
<text x="108" y="218" class="card-title">用户任务</text>
|
|
38
|
+
<text x="83" y="252" class="card-copy">问题描述、显式步骤、建议预算</text>
|
|
39
|
+
|
|
40
|
+
<rect x="507" y="174" width="425" height="105" rx="17" fill="#fff" stroke="#d7e3ef" stroke-width="2"/>
|
|
41
|
+
<circle cx="539" cy="210" r="10" fill="#38a993"/>
|
|
42
|
+
<text x="564" y="218" class="card-title">官方模型目录</text>
|
|
43
|
+
<text x="539" y="252" class="card-copy">已配置的 provider / model 路线</text>
|
|
44
|
+
|
|
45
|
+
<rect x="963" y="174" width="425" height="105" rx="17" fill="#fff" stroke="#d7e3ef" stroke-width="2"/>
|
|
46
|
+
<circle cx="995" cy="210" r="10" fill="#e0a047"/>
|
|
47
|
+
<text x="1020" y="218" class="card-title">用户提供的模型画像</text>
|
|
48
|
+
<text x="995" y="252" class="card-copy">质量、单价、专长、CLI 模型名</text>
|
|
49
|
+
|
|
50
|
+
<path d="M263 279 V303 H720 M720 279 V303 M1176 279 V303 H720 V329" class="divider"/>
|
|
51
|
+
<text x="52" y="351" class="eyebrow">本地规划</text>
|
|
52
|
+
|
|
53
|
+
<rect x="51" y="372" width="313" height="134" rx="17" fill="#fff" stroke="#cdddee" stroke-width="2"/>
|
|
54
|
+
<circle cx="84" cy="406" r="18" fill="#5477cf"/>
|
|
55
|
+
<text x="84" y="412" class="stage-number" text-anchor="middle">1</text>
|
|
56
|
+
<text x="113" y="414" class="card-title">识别难度</text>
|
|
57
|
+
<text x="77" y="453" class="card-copy">任务类型与复杂度分级</text>
|
|
58
|
+
<text x="77" y="481" class="small">简单 / 中等 / 复杂</text>
|
|
59
|
+
|
|
60
|
+
<path d="M366 439 H390" class="link"/>
|
|
61
|
+
<rect x="392" y="372" width="313" height="134" rx="17" fill="#fff" stroke="#cdddee" stroke-width="2"/>
|
|
62
|
+
<circle cx="425" cy="406" r="18" fill="#5477cf"/>
|
|
63
|
+
<text x="425" y="412" class="stage-number" text-anchor="middle">2</text>
|
|
64
|
+
<text x="454" y="414" class="card-title">拆分工作包</text>
|
|
65
|
+
<text x="418" y="453" class="card-copy">目标、难度与依赖关系</text>
|
|
66
|
+
<text x="418" y="481" class="small">分析 → 执行 → 校验与整合</text>
|
|
67
|
+
|
|
68
|
+
<path d="M707 439 H731" class="link"/>
|
|
69
|
+
<rect x="733" y="372" width="313" height="134" rx="17" fill="#fff" stroke="#cdddee" stroke-width="2"/>
|
|
70
|
+
<circle cx="766" cy="406" r="18" fill="#5477cf"/>
|
|
71
|
+
<text x="766" y="412" class="stage-number" text-anchor="middle">3</text>
|
|
72
|
+
<text x="795" y="414" class="card-title">筛选模型</text>
|
|
73
|
+
<text x="759" y="453" class="card-copy">质量门槛、任务能力</text>
|
|
74
|
+
<text x="759" y="481" class="small">Pareto 候选剪枝</text>
|
|
75
|
+
|
|
76
|
+
<path d="M1048 439 H1072" class="link"/>
|
|
77
|
+
<rect x="1074" y="372" width="313" height="134" rx="17" fill="#fff" stroke="#cdddee" stroke-width="2"/>
|
|
78
|
+
<circle cx="1107" cy="406" r="18" fill="#5477cf"/>
|
|
79
|
+
<text x="1107" y="412" class="stage-number" text-anchor="middle">4</text>
|
|
80
|
+
<text x="1136" y="414" class="card-title">全局分配</text>
|
|
81
|
+
<text x="1100" y="453" class="card-copy">预算与交接代价约束</text>
|
|
82
|
+
<text x="1100" y="481" class="small">有界组合搜索</text>
|
|
83
|
+
|
|
84
|
+
<path d="M1230 506 V528 H720 V548" class="link"/>
|
|
85
|
+
<rect x="51" y="551" width="1336" height="91" rx="17" fill="url(#plan)" stroke="#8daccd" stroke-width="2"/>
|
|
86
|
+
<text x="77" y="587" class="card-title">路由计划</text>
|
|
87
|
+
<text x="77" y="619" class="card-copy">每包推荐模型、推理等级、估算成本、依赖和验收项;缺失单价或质量证据时明确提示</text>
|
|
88
|
+
|
|
89
|
+
<path d="M720 642 V680" class="link" stroke-dasharray="8 6"/>
|
|
90
|
+
<text x="749" y="671" class="small">会话中显式触发</text>
|
|
91
|
+
<rect x="51" y="685" width="1336" height="88" rx="17" fill="#fff" stroke="#83b9a8" stroke-width="2" stroke-dasharray="8 6"/>
|
|
92
|
+
<text x="77" y="721" class="card-title">可选:调用官方工具执行</text>
|
|
93
|
+
<text x="77" y="753" class="card-copy">Host 审批 → 已核验的官方 CLI → 独立 Git 工作区 → 按依赖顺序整合结果</text>
|
|
94
|
+
|
|
95
|
+
<text x="53" y="812" class="small">预算只影响规划建议,不是实际扣费上限;实际调用模型需核对厂商记录。</text>
|
|
96
|
+
</svg>
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1500 1120" role="img" aria-labelledby="title description">
|
|
2
|
+
<title id="title">模型路由工作台操作示意</title>
|
|
3
|
+
<desc id="description">示意图而非实机截图。操作顺序为:输入任务描述,选择单任务或团队分工,填写仅用于估算的预算,生成路由建议;向下滚动,经过逐模型价格与能力配置,再查看路由建议;实际执行须在官方会话中显式调用工具。</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="page" x2="1" y2="1">
|
|
6
|
+
<stop offset="0" stop-color="#f5f8fd"/>
|
|
7
|
+
<stop offset="1" stop-color="#edf5f3"/>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse">
|
|
10
|
+
<path d="M1 1 L9 5 L1 9" fill="none" stroke="#5379be" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
</marker>
|
|
12
|
+
<style>
|
|
13
|
+
text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; fill: #1c2a3c; }
|
|
14
|
+
.page-title { font-size: 34px; font-weight: 740; }
|
|
15
|
+
.sub { font-size: 17px; fill: #586b81; }
|
|
16
|
+
.section { font-size: 22px; font-weight: 720; }
|
|
17
|
+
.label { font-size: 17px; font-weight: 690; }
|
|
18
|
+
.ui { font-size: 17px; fill: #536274; }
|
|
19
|
+
.note { font-size: 16px; fill: #62758a; }
|
|
20
|
+
.num { font-size: 18px; font-weight: 800; fill: #fff; }
|
|
21
|
+
.button-label { font-size: 18px; font-weight: 720; fill: #fff; }
|
|
22
|
+
.card { fill: #fff; stroke: #d5e0eb; stroke-width: 2; }
|
|
23
|
+
.field { fill: #fbfcff; stroke: #cdd9e6; stroke-width: 2; }
|
|
24
|
+
.arrow { fill: none; stroke: #7393c3; stroke-width: 3; marker-end: url(#arrow); }
|
|
25
|
+
</style>
|
|
26
|
+
</defs>
|
|
27
|
+
|
|
28
|
+
<rect width="1500" height="1120" rx="25" fill="url(#page)"/>
|
|
29
|
+
<text x="42" y="59" class="page-title">模型路由工作台:从填写任务到查看建议</text>
|
|
30
|
+
<rect x="1180" y="25" width="278" height="42" rx="21" fill="#fff2dc" stroke="#dfb36e" stroke-width="2"/>
|
|
31
|
+
<text x="1208" y="53" font-size="18" font-weight="730" fill="#8b591b">操作示意 · 非实机截图</text>
|
|
32
|
+
<text x="42" y="91" class="sub">按 0.9.0 工作台控件顺序绘制;示例文字不含真实项目、账号或模型信息。</text>
|
|
33
|
+
|
|
34
|
+
<rect x="41" y="119" width="238" height="920" rx="18" fill="#e8edf4" stroke="#d2dce8" stroke-width="2"/>
|
|
35
|
+
<text x="68" y="162" font-size="20" font-weight="750">DeepSeek Harness</text>
|
|
36
|
+
<rect x="57" y="204" width="206" height="48" rx="10" fill="#d7e2f5"/>
|
|
37
|
+
<text x="78" y="235" font-size="18" font-weight="720">模型路由</text>
|
|
38
|
+
<text x="78" y="292" class="ui">Gal 模块</text>
|
|
39
|
+
<text x="68" y="352" class="note">示意导航</text>
|
|
40
|
+
|
|
41
|
+
<text x="320" y="145" font-size="29" font-weight="740">模型路由工作台</text>
|
|
42
|
+
<text x="320" y="177" class="sub">任务规划在本机完成;右侧仅显示官方已配置的模型路线。</text>
|
|
43
|
+
|
|
44
|
+
<rect x="320" y="204" width="726" height="392" rx="17" class="card"/>
|
|
45
|
+
<text x="346" y="242" class="section">任务规划</text>
|
|
46
|
+
<text x="346" y="269" class="note">生成建议不会自动启动模型或团队任务。</text>
|
|
47
|
+
|
|
48
|
+
<circle cx="351" cy="308" r="17" fill="#3d65c1"/>
|
|
49
|
+
<text x="351" y="314" text-anchor="middle" class="num">1</text>
|
|
50
|
+
<text x="380" y="315" class="label">任务描述</text>
|
|
51
|
+
<rect x="346" y="328" width="672" height="106" rx="11" class="field"/>
|
|
52
|
+
<text x="365" y="361" class="ui">例如:梳理需求,完成实现并给出验收清单</text>
|
|
53
|
+
<text x="365" y="391" class="note">复杂任务可按编号或分行列出独立要求</text>
|
|
54
|
+
|
|
55
|
+
<circle cx="351" cy="472" r="17" fill="#3d65c1"/>
|
|
56
|
+
<text x="351" y="478" text-anchor="middle" class="num">2</text>
|
|
57
|
+
<text x="380" y="478" class="label">规划模式</text>
|
|
58
|
+
<rect x="346" y="494" width="275" height="44" rx="10" fill="#edf1f7"/>
|
|
59
|
+
<rect x="350" y="498" width="125" height="36" rx="8" fill="#fff" stroke="#d7e1ef"/>
|
|
60
|
+
<text x="381" y="522" class="ui">单任务</text>
|
|
61
|
+
<text x="497" y="522" class="ui">团队分工</text>
|
|
62
|
+
|
|
63
|
+
<circle cx="675" cy="472" r="17" fill="#3d65c1"/>
|
|
64
|
+
<text x="675" y="478" text-anchor="middle" class="num">3</text>
|
|
65
|
+
<text x="704" y="478" class="label">本次估算预算(USD)</text>
|
|
66
|
+
<rect x="671" y="494" width="320" height="44" rx="10" class="field"/>
|
|
67
|
+
<text x="691" y="522" class="ui">0</text>
|
|
68
|
+
<text x="346" y="568" class="note">0 表示建议不限预算;这里不设置真实支出上限。</text>
|
|
69
|
+
|
|
70
|
+
<rect x="1066" y="204" width="392" height="392" rx="17" class="card"/>
|
|
71
|
+
<text x="1092" y="242" class="section">模型目录</text>
|
|
72
|
+
<text x="1092" y="269" class="note">只显示已登记的 provider/model。</text>
|
|
73
|
+
<rect x="1092" y="295" width="340" height="42" rx="9" class="field"/>
|
|
74
|
+
<text x="1110" y="322" class="ui">搜索路线</text>
|
|
75
|
+
<rect x="1092" y="356" width="340" height="72" rx="9" fill="#f8fbff" stroke="#dce5ef"/>
|
|
76
|
+
<text x="1110" y="385" class="label">已配置路线 A</text>
|
|
77
|
+
<text x="1110" y="409" class="note">provider / model</text>
|
|
78
|
+
<rect x="1092" y="440" width="340" height="72" rx="9" fill="#f8fbff" stroke="#dce5ef"/>
|
|
79
|
+
<text x="1110" y="469" class="label">已配置路线 B</text>
|
|
80
|
+
<text x="1110" y="493" class="note">provider / model</text>
|
|
81
|
+
<text x="1092" y="548" class="note">路线可见 ≠ 凭据和网络可用</text>
|
|
82
|
+
|
|
83
|
+
<circle cx="351" cy="627" r="17" fill="#3d65c1"/>
|
|
84
|
+
<text x="351" y="633" text-anchor="middle" class="num">4</text>
|
|
85
|
+
<rect x="379" y="604" width="177" height="45" rx="10" fill="#315cc8"/>
|
|
86
|
+
<text x="404" y="633" class="button-label">生成路由建议</text>
|
|
87
|
+
<text x="577" y="632" class="note">先有任务描述与至少一条官方模型路线</text>
|
|
88
|
+
|
|
89
|
+
<path d="M881 652 V690" class="arrow"/>
|
|
90
|
+
<circle cx="351" cy="694" r="17" fill="#3d65c1"/>
|
|
91
|
+
<text x="351" y="700" text-anchor="middle" class="num">5</text>
|
|
92
|
+
<text x="380" y="700" class="label">向下滚动:先经过“逐模型价格与能力”,再看“路由建议”</text>
|
|
93
|
+
|
|
94
|
+
<rect x="320" y="714" width="1138" height="125" rx="17" class="card"/>
|
|
95
|
+
<text x="346" y="748" class="section">逐模型价格与能力</text>
|
|
96
|
+
<text x="346" y="773" class="note">可为准确的官方路线填写质量评分、输入/输出单价与 CLI 模型名;缺失价格保持未知。</text>
|
|
97
|
+
<rect x="346" y="793" width="260" height="28" rx="7" class="field"/>
|
|
98
|
+
<text x="357" y="813" class="note">选择模型路线</text>
|
|
99
|
+
<rect x="620" y="793" width="245" height="28" rx="7" class="field"/>
|
|
100
|
+
<text x="631" y="813" class="note">质量评分(可选)</text>
|
|
101
|
+
<rect x="879" y="793" width="245" height="28" rx="7" class="field"/>
|
|
102
|
+
<text x="890" y="813" class="note">输入单价(可选)</text>
|
|
103
|
+
<rect x="1138" y="793" width="294" height="28" rx="7" class="field"/>
|
|
104
|
+
<text x="1149" y="813" class="note">输出单价(可选)</text>
|
|
105
|
+
|
|
106
|
+
<path d="M881 839 V861" class="arrow"/>
|
|
107
|
+
<rect x="320" y="864" width="1138" height="110" rx="17" fill="#e6eefc" stroke="#92addd" stroke-width="2"/>
|
|
108
|
+
<text x="346" y="899" class="section">路由建议</text>
|
|
109
|
+
<text x="346" y="929" class="ui">推荐路线 · 任务复杂度 · 估算总成本</text>
|
|
110
|
+
<text x="346" y="954" class="note">团队模式还显示工作包、依赖、推荐模型、执行渠道与验收项。</text>
|
|
111
|
+
|
|
112
|
+
<circle cx="351" cy="1015" r="17" fill="#259477"/>
|
|
113
|
+
<text x="351" y="1021" text-anchor="middle" class="num">6</text>
|
|
114
|
+
<rect x="379" y="987" width="1079" height="66" rx="14" fill="#fff" stroke="#77b6a5" stroke-width="2" stroke-dasharray="8 6"/>
|
|
115
|
+
<text x="405" y="1016" class="label">需要实际执行时,转到官方会话并显式调用工具</text>
|
|
116
|
+
<text x="405" y="1042" class="note">model_router_consult · model_router_tool_run · model_router_team_execute</text>
|
|
117
|
+
|
|
118
|
+
<text x="320" y="1090" class="sub">示意图只说明操作位置与顺序;生成计划是本地计算,官方 CLI 执行、账号可用性与实际费用需分别核验。</text>
|
|
119
|
+
</svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ljwei-stak/dsh-model-router",
|
|
3
|
+
"version": "0.13.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Model Router for official DeepSeek Harness Desktop: cost-aware task routing, dependent work packages and official vendor CLI discovery, installation and execution. GAL is available separately as @ljwei-stak/dsh-galgame.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Alice-Marx/dsh-model-router.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/Alice-Marx/dsh-model-router#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/Alice-Marx/dsh-model-router/issues"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"main": "./.dsh-plugin/index.mjs",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": "./.dsh-plugin/index.mjs",
|
|
20
|
+
"./client": "./.dsh-plugin/client.js",
|
|
21
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"dsh": {
|
|
25
|
+
"bundle": {
|
|
26
|
+
"patch": "./cordis.patch.yml"
|
|
27
|
+
},
|
|
28
|
+
"client": {
|
|
29
|
+
"platform": "web",
|
|
30
|
+
"inject": [
|
|
31
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
32
|
+
"@deepseek-ai/dsh-api-session-controller",
|
|
33
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
34
|
+
"@deepseek-ai/dsh-client-ui-sidebar",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
36
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
".dsh-plugin/index.mjs",
|
|
42
|
+
".dsh-plugin/official-tools-remote-service.mjs",
|
|
43
|
+
".dsh-plugin/client.js",
|
|
44
|
+
".dsh-plugin/shared/harness-plan.mjs",
|
|
45
|
+
".dsh-plugin/shared/model-profiles.mjs",
|
|
46
|
+
".dsh-plugin/shared/router.mjs",
|
|
47
|
+
".dsh-plugin/shared/livebench.mjs",
|
|
48
|
+
".dsh-plugin/shared/official-tool-registry.mjs",
|
|
49
|
+
".dsh-plugin/shared/official-tools-runtime.mjs",
|
|
50
|
+
".dsh-plugin/shared/official-tools-remote.mjs",
|
|
51
|
+
".dsh-plugin/shared/official-tool-executor.mjs",
|
|
52
|
+
".dsh-plugin/shared/task-executors.mjs",
|
|
53
|
+
".dsh-plugin/shared/vendor-minimax-adapter.mjs",
|
|
54
|
+
".dsh-plugin/shared/vendor-mimo-grok-adapter.mjs",
|
|
55
|
+
".dsh-plugin/shared/zcode-bundle.mjs",
|
|
56
|
+
".dsh-plugin/shared/zcode-installer.mjs",
|
|
57
|
+
".dsh-plugin/shared/official-team-runtime.mjs",
|
|
58
|
+
".dsh-plugin/shared/tool-health.mjs",
|
|
59
|
+
".dsh-plugin/shared/router-state.mjs",
|
|
60
|
+
".dsh-plugin/shared/run-ledger.mjs",
|
|
61
|
+
".dsh-plugin/shared/routing-presets.mjs",
|
|
62
|
+
".dsh-plugin/shared/subscription-billing.mjs",
|
|
63
|
+
".dsh-plugin/shared/security-boundaries.mjs",
|
|
64
|
+
"cordis.patch.yml",
|
|
65
|
+
"README.md",
|
|
66
|
+
"README.zh.md",
|
|
67
|
+
"docs/assets/routing-workflow.svg",
|
|
68
|
+
"docs/assets/desktop-official-tools-0.9.0.png",
|
|
69
|
+
"docs/assets/workbench-usage.svg",
|
|
70
|
+
"docs/assets/candidate-pruning.svg",
|
|
71
|
+
"INSTALLATION_GUIDE.zh.md",
|
|
72
|
+
"MIGRATION.md",
|
|
73
|
+
"LICENSE",
|
|
74
|
+
"CHANGELOG.md",
|
|
75
|
+
"docs/assets/router-only-0.12.0.png"
|
|
76
|
+
],
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build:client": "node scripts/build-client.mjs",
|
|
79
|
+
"check:client": "node scripts/build-client.mjs --check",
|
|
80
|
+
"test": "node --test tests/router.test.mjs tests/harness-*.test.mjs tests/official-tools.test.mjs tests/official-team-runtime.test.mjs tests/model-profiles.test.mjs tests/model-profile-editor.test.mjs tests/tool-install-state.test.mjs tests/vendor-adapters.test.mjs tests/desktop-compat.test.mjs tests/plugin-split.test.mjs tests/task-executors.test.mjs tests/roadmap.test.mjs tests/insights-state.test.mjs tests/billing-team-ledger.test.mjs tests/subscription-billing.test.mjs tests/subscription-host.test.mjs tests/test-pass-regressions.test.mjs tests/roadmap-gaps.test.mjs",
|
|
81
|
+
"prepack": "node scripts/prepack.mjs",
|
|
82
|
+
"pack:local": "npm pack --pack-destination dist"
|
|
83
|
+
},
|
|
84
|
+
"license": "MIT",
|
|
85
|
+
"engines": {
|
|
86
|
+
"node": ">=22.19"
|
|
87
|
+
},
|
|
88
|
+
"packageManager": "pnpm@10.34.6",
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
91
|
+
"@deepseek-ai/dsh-commands": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
94
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
95
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.1 || 0.2.0-rc.2",
|
|
97
|
+
"@deepseek-ai/schemastery": "~3.18.4"
|
|
98
|
+
},
|
|
99
|
+
"devDependencies": {
|
|
100
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
101
|
+
"@deepseek-ai/cordis-plugin-group": "1.0.4",
|
|
102
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.9",
|
|
103
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.5",
|
|
104
|
+
"@deepseek-ai/cordis-plugin-timer": "1.1.6",
|
|
105
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
106
|
+
"@deepseek-ai/dsh-agent-default-model": "0.2.0-rc.2",
|
|
107
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.0-rc.2",
|
|
108
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.0-rc.2",
|
|
109
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
|
|
111
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
112
|
+
"@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
|
|
113
|
+
"@deepseek-ai/dsh-brand": "0.2.0-rc.2",
|
|
114
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
115
|
+
"@deepseek-ai/dsh-client-file-upload": "0.2.0-rc.2",
|
|
116
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.2",
|
|
117
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.0-rc.2",
|
|
118
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
|
|
119
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
|
|
120
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.0-rc.2",
|
|
121
|
+
"@deepseek-ai/dsh-cmdline": "0.2.0-rc.2",
|
|
122
|
+
"@deepseek-ai/dsh-commands": "0.2.0-rc.2",
|
|
123
|
+
"@deepseek-ai/dsh-compaction": "0.2.0-rc.2",
|
|
124
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.2",
|
|
125
|
+
"@deepseek-ai/dsh-file-reference": "0.2.0-rc.2",
|
|
126
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
127
|
+
"@deepseek-ai/dsh-hmr": "0.2.0-rc.2",
|
|
128
|
+
"@deepseek-ai/dsh-home-paths": "0.2.0-rc.2",
|
|
129
|
+
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
130
|
+
"@deepseek-ai/dsh-launch-environment": "0.2.0-rc.2",
|
|
131
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
132
|
+
"@deepseek-ai/dsh-native-command": "0.2.0-rc.2",
|
|
133
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.2",
|
|
134
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
|
|
135
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
|
|
136
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.2",
|
|
137
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
138
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
|
|
139
|
+
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
|
|
140
|
+
"@deepseek-ai/dsh-session-query": "0.2.0-rc.2",
|
|
141
|
+
"@deepseek-ai/dsh-session-title": "0.2.0-rc.2",
|
|
142
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
143
|
+
"@deepseek-ai/dsh-skill": "0.2.0-rc.2",
|
|
144
|
+
"@deepseek-ai/dsh-storage": "0.2.0-rc.2",
|
|
145
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.0-rc.2",
|
|
146
|
+
"@deepseek-ai/dsh-subagent": "0.2.0-rc.2",
|
|
147
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
148
|
+
"@deepseek-ai/dsh-tool-todo": "0.2.0-rc.2",
|
|
149
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
150
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.0-rc.2",
|
|
151
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.0-rc.2",
|
|
152
|
+
"@deepseek-ai/dsh-user-approval": "0.2.0-rc.2",
|
|
153
|
+
"@deepseek-ai/dsh-util-time": "0.2.0-rc.2",
|
|
154
|
+
"@deepseek-ai/dsh-util-workspace-path": "0.2.0-rc.2",
|
|
155
|
+
"@deepseek-ai/dsh-workspace": "0.2.0-rc.2",
|
|
156
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
157
|
+
"esbuild": "0.28.2",
|
|
158
|
+
"react": "18.3.1",
|
|
159
|
+
"react-dom": "18.3.1"
|
|
160
|
+
}
|
|
161
|
+
}
|