ralphflow-dsh 0.1.0 → 0.1.1

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 CHANGED
@@ -1,17 +1,33 @@
1
1
  # Ralph Flow for DeepSeek Harness (dsh)
2
2
 
3
+ > **npm:** [`ralphflow-dsh`](https://www.npmjs.com/package/ralphflow-dsh) · **源码:** [github.com/534529531/ralph-flow-dsh](https://github.com/534529531/ralph-flow-dsh) · 上游: [github.com/534529531/ralph-flow](https://github.com/534529531/ralph-flow)
4
+
3
5
  > 插件名 **ralphflow** —— slash 命令与工具命名和 opencode 版**一字不差**,opencode 用户零学习成本。
4
6
  > 目标:把 ralphflow 的 DO/CHECK 状态机工作流引擎做成 dsh 的原生插件,像 dsh 本来就有的功能。
5
7
 
6
8
  ## 这是什么
7
9
 
8
- dsh 版的 ralphflow:同一个 DO → CHECK → 人工门 → 验证 → 报告 状态机,但 UI 全部是 dsh 原生形态(对话内嵌卡 + 页头入口),不引入独立大页面(无 Studio/Dashboard/Runs 表格页)。
10
+ dsh 版的 ralphflow:同一个 DO → CHECK → 人工门 → 验证 → 报告 状态机,但 UI 全部是 dsh 原生形态(页头任务列表 + 对话内嵌命令卡),不引入独立大页面(无 Studio/Dashboard/Runs 表格页)。
11
+
12
+ ![Ralph Flow 在 dsh web 中运行:页头入口实时显示进度与待审查徽标](docs/screenshots/overview.png)
9
13
 
10
14
  - 插件名:`ralphflow`
11
15
  - slash 命令:`/ralphflow-start` `/ralphflow-continue` `/ralphflow-status` `/ralphflow-list` `/ralphflow-cancel` `/ralphflow-rewind` `/ralphflow-reset` `/ralphflow-doctor` `/ralphflow-unbrick`
12
16
  - 工具:`ralphflow_start` `ralphflow_continue` `ralphflow_status` `ralphflow_list` `ralphflow_cancel` `ralphflow_rewind` `ralphflow_reset` `ralphflow_doctor` `ralphflow_create` `ralphflow_unbrick`(10 个,除 create/unbrick 外与 opencode 同名同参)
13
17
  - 工作流快捷命令:`/loop` `/spec` 等(按工作流目录动态注册)
14
18
 
19
+ ### 页头抽屉(控制中心)
20
+
21
+ 点击页头右侧 **Ralph Flow** 入口展开任务列表:实时进度、超时进度条、验证票状态、一键通过/打回/取消,所有操作直连 host(POST 动作端点),不再依赖输入框填命令。
22
+
23
+ ![页头抽屉:任务列表、超时进度条、验证票飞行时长、审批/取消按钮](docs/screenshots/drawer.png)
24
+
25
+ ### 验证者视角
26
+
27
+ 每个验证者是独立的 dsh 子代理,只读工具白名单 + 对抗性 system prompt 保障对抗检查的独立性。抽屉实时显示每票状态(排队→运行中→判定)与飞行时长。
28
+
29
+ ![验证者子代理详情:读代码、跑测试、独立判定](docs/screenshots/verifier.png)
30
+
15
31
  ## 安装
16
32
 
17
33
  ### 从 npm 安装(发布后)
package/lib/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({
2
- id: "ralphflow",
2
+ id: "ralphflow-dsh",
3
3
  factory: (require) => {
4
4
  var module = { exports: {} };
5
5
  var exports = module.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ralphflow-dsh",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Ralph Flow for DeepSeek Harness — opencode 同名的 DO/CHECK 状态机工作流引擎,作为原生 dsh 插件",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -37,7 +37,11 @@
37
37
  "license": "MIT",
38
38
  "repository": {
39
39
  "type": "git",
40
- "url": "https://github.com/yj/ralph-flow-dsh.git"
40
+ "url": "git+https://github.com/534529531/ralph-flow-dsh.git"
41
+ },
42
+ "homepage": "https://github.com/534529531/ralph-flow-dsh#readme",
43
+ "bugs": {
44
+ "url": "https://github.com/534529531/ralph-flow-dsh/issues"
41
45
  },
42
46
  "peerDependencies": {
43
47
  "@deepseek-ai/cordis": "^4.0.1",