dsh-mcmp 3.1.2 → 3.1.3
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/README.md +5 -2
- package/icon.svg +17 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -120,18 +120,21 @@ pnpm dsh plugin --profile web remove dsh-mcmp # 卸载
|
|
|
120
120
|
|
|
121
121
|
## 文件说明
|
|
122
122
|
|
|
123
|
-
仓库根目录就是插件包本体。发到 npm 的内容是 `lib
|
|
123
|
+
仓库根目录就是插件包本体。发到 npm 的内容是 `lib/`、`locale/`、`cordis.patch.yml`、`icon.svg` 和 `package.json`,`tests/` 不随包发布。
|
|
124
124
|
|
|
125
125
|
| 文件 | 内容 |
|
|
126
126
|
| --- | --- |
|
|
127
|
-
| `package.json` | 包清单:`dsh.bundle` 与 `dsh.client` 声明、`exports` 入口(`.` 给 Host,`./client` 给面板 bundle) |
|
|
127
|
+
| `package.json` | 包清单:`dsh.bundle` 与 `dsh.client` 声明、`exports` 入口(`.` 给 Host,`./client` 给面板 bundle,`./locale/*.json` 给展示元信息) |
|
|
128
128
|
| `cordis.patch.yml` | bundle 补丁,安装时自动插入插件行(`insert: mcmp`) |
|
|
129
129
|
| `ARCHITECTURE.md` | 流程架构设计书:中控台两个模块、五阶段、评级与回滚机制、教训和索引的约束 |
|
|
130
130
|
| `PROMPTS.md` | 提示词模板:执行 Agent、扫描验证模块、评审决策模块 |
|
|
131
131
|
| `lib/index.js` | 入口模块:输入框内检测、模型选择、题目检测、识图探测、参数解析、`/mcmp-api` 面板路由 |
|
|
132
132
|
| `lib/pipeline.js` | 主循环:阶段元数据与提示词构造、扫描与评审调度、回滚与锁定、断点续跑、进度快照、中止与重置 |
|
|
133
133
|
| `lib/client.js` | 浮窗面板:轮询、显示与交互 |
|
|
134
|
+
| `locale/en.json`、`locale/zh.json` | 插件列表里的标题与描述,按界面语言取用 |
|
|
135
|
+
| `icon.svg` | 插件列表卡片的图标 |
|
|
134
136
|
| `tests/smoke.mjs` | 冒烟测试:伪造 Cordis ctx 驱动插件,覆盖启动、扫描评审、回滚与强制锁定、P3 定点修改、失败重试、断点续跑、中止、兜底、`--from`、识图探测、`--model`。`node tests/smoke.mjs` |
|
|
137
|
+
| `tests/meta-check.mjs` | 展示元信息自检:校验 locale 子路径可解析、标题描述齐全、图标存在且不超过 256 KiB。`node tests/meta-check.mjs` |
|
|
135
138
|
|
|
136
139
|
## License
|
|
137
140
|
|
package/icon.svg
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" role="img" aria-label="Math modeling paper">
|
|
2
|
+
<title>Math modeling paper</title>
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="mcmpPaper" x1="0" y1="0" x2="0" y2="1">
|
|
5
|
+
<stop offset="0" stop-color="#dfeeff"/>
|
|
6
|
+
<stop offset="1" stop-color="#bcd9fb"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect x="3" y="2" width="18" height="20" rx="2.5" fill="url(#mcmpPaper)" stroke="#1f5fa8" stroke-width="1.5"/>
|
|
10
|
+
<path d="M6.5 15.5h3.4M6.5 18h5.2" stroke="#4a86c9" stroke-width="1.4" stroke-linecap="round"/>
|
|
11
|
+
<path d="M6.5 6.6l3 3.2 2.6-3.9 2.5 2.4 3-4.2" fill="none" stroke="#0f7a6c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
<circle cx="6.5" cy="6.6" r="1.05" fill="#0f7a6c"/>
|
|
13
|
+
<circle cx="9.5" cy="9.8" r="1.05" fill="#0f7a6c"/>
|
|
14
|
+
<circle cx="12.1" cy="5.9" r="1.05" fill="#0f7a6c"/>
|
|
15
|
+
<circle cx="14.6" cy="8.3" r="1.05" fill="#0f7a6c"/>
|
|
16
|
+
<circle cx="17.6" cy="4.1" r="1.05" fill="#0f7a6c"/>
|
|
17
|
+
</svg>
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Math Modeling Paper Pipeline",
|
|
4
|
+
"description": "Runs the full pipeline for a math-modeling competition paper: paste the problem, send /loopbegin, and a supervisor plus five stages (22 substages) draft, verify and typeset the paper. Always ends with Final_Paper.md."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcmp",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"description": "DeepSeek Harness 插件:数学建模竞赛自动化论文撰写系统
|
|
3
|
+
"version": "3.1.3",
|
|
4
|
+
"description": "DeepSeek Harness 插件:数学建模竞赛自动化论文撰写系统(中控台双重质疑 + 五阶段流水线:扫描验证/评审决策、P0-P3 评级与阶段级回滚、教训持久化、索引导航、兜底定稿 Final_Paper.md、断点续跑、进度面板)",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"icon": "./icon.svg",
|
|
6
7
|
"main": "lib/index.js",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": "./lib/index.js",
|
|
9
10
|
"./client": "./lib/client.js",
|
|
10
|
-
"./package.json": "./package.json"
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
"./locale/*.json": "./locale/*.json"
|
|
11
13
|
},
|
|
12
14
|
"files": [
|
|
13
15
|
"lib",
|
|
14
|
-
"
|
|
16
|
+
"locale",
|
|
17
|
+
"cordis.patch.yml",
|
|
18
|
+
"icon.svg"
|
|
15
19
|
],
|
|
16
20
|
"dsh": {
|
|
17
21
|
"bundle": {
|