dsh-knj-workflow 2026.9.21 → 2026.9.70
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 +2 -1
- package/lib/client.js +655 -50
- package/lib/file-preview.test.js +75 -0
- package/lib/graph.js +266 -6
- package/lib/graph.test.js +200 -1
- package/lib/index.d.ts +23 -0
- package/lib/index.js +189 -16
- package/lib/index.test.js +48 -1
- package/lib/orchestrator.js +25 -7
- package/lib/orchestrator.test.js +62 -0
- package/lib/repro-decide-order.test.js +73 -0
- package/lib/repro-paused-runs.test.js +112 -0
- package/lib/ui-regression.test.js +81 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
- **可视化进度**:右侧栏「开发任务」tab 横向步骤条展示每个阶段状态(待执行/运行中/完成/失败),实时刷新
|
|
13
13
|
- **阶段重跑 / 继续**:失败的阶段可点击「重跑」,暂停/失败的任务可点击「继续」——基于断点持久化(每阶段结果落盘)
|
|
14
14
|
- **斜杠命令**:`/dev-task new <标题>`、`/dev-task list`、`/dev-task status <id>`、`/dev-task wf`
|
|
15
|
+
- **定时调度集成(可选)**:为 `dsh-scheduler` 提供进程内 `knjWorkflowScheduler` 服务;定时触发时按最新保存的流程定义创建并启动任务,历史可直达该任务详情
|
|
15
16
|
- **UI 融入原生**:左侧栏底部「新建任务」入口 + 右侧栏两个 tab(better-sidebar 扩展点),全部使用 DSH 原生设计令牌(`--dsw-*`)
|
|
16
17
|
|
|
17
18
|
## 架构
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
dsh plugin --profile web add dsh-knj-workflow
|
|
47
48
|
```
|
|
48
49
|
|
|
49
|
-
> npm 包 [`dsh-knj-workflow`](https://www.npmjs.com/package/dsh-knj-workflow);安装后重启 dsh web
|
|
50
|
+
> npm 包 [`dsh-knj-workflow`](https://www.npmjs.com/package/dsh-knj-workflow);安装后重启 dsh web 生效。`dsh-scheduler` 可独立安装;同时安装本插件后,调度器才会显示「KNJ 工作流」任务类型。
|
|
50
51
|
|
|
51
52
|
配置(可选,在 profile 的 `cordis.patch.yml` 中按 id `knj-workflow` 覆盖):
|
|
52
53
|
|