dsh-lowtide 0.1.3 → 0.2.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/README.md +19 -2
- package/lib/client.js +510 -298
- package/lib/client.js.map +1 -1
- package/lib/index.js +178 -22
- package/lib/types/client/api.d.ts +12 -1
- package/lib/types/client/components/EditTaskModal.d.ts +10 -0
- package/lib/types/client/components/TaskDetail.d.ts +3 -1
- package/lib/types/client/components/TaskForm.d.ts +10 -1
- package/lib/types/client/components/TaskRow.d.ts +3 -1
- package/lib/types/client/i18n.d.ts +10 -7
- package/lib/types/client/store.d.ts +4 -0
- package/lib/types/src/models.d.ts +6 -2
- package/lib/types/src/routes.d.ts +2 -1
- package/lib/types/src/state-machine.d.ts +10 -0
- package/lib/types/src/store.d.ts +19 -9
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -60,6 +60,23 @@ lowtide 是 DeepSeek Harness (dsh) 的一个插件。它解决的问题其实很
|
|
|
60
60
|
|
|
61
61
|
**核心语义**:只有 `queued` 状态的任务会被闲时 runner 拾取;`pending-review` 是人与机器之间的海关——机器永远不能自己把任务推过这道关(采样模式的"选哪份"也是人的事)。
|
|
62
62
|
|
|
63
|
+
## 安装(用户)
|
|
64
|
+
|
|
65
|
+
从 [GitHub Releases](https://github.com/KelaoHu/dsh-lowtide/releases/latest) 下载预构建的 `dsh-lowtide.tgz`(或在 dsh 插件市场中一键安装),无需本地构建。桌面端与网页端使用同一份产物,按需要装入对应 profile:
|
|
66
|
+
|
|
67
|
+
```powershell
|
|
68
|
+
# 桌面端(DSH Desktop 客户端使用的 profile)
|
|
69
|
+
dsh plugin --profile desktop add dsh-lowtide.tgz
|
|
70
|
+
|
|
71
|
+
# 网页端(浏览器访问的 dsh web)
|
|
72
|
+
dsh plugin --profile web add dsh-lowtide.tgz
|
|
73
|
+
dsh web
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
- 网页端需要 `@deepseek-ai/dsh` ≥ 0.1.1-rc.2(`npm i -g @deepseek-ai/dsh` 或随桌面客户端附带),与桌面端同代引擎可同时服务两端。
|
|
77
|
+
- 两个 profile 的状态文件相互独立(`DSH_PROFILE` 隔离),桌面端与网页端可并行运行。
|
|
78
|
+
- 状态文件:`$DSH_HOME/lowtide.json`(web 端为 `$DSH_HOME/profiles/web/lowtide.json`)。
|
|
79
|
+
|
|
63
80
|
## 安装(开发)
|
|
64
81
|
|
|
65
82
|
```powershell
|
|
@@ -70,8 +87,8 @@ pnpm.cmd --filter dsh-lowtide bundle # 构建 dsh 宿主半 + 客户端 bun
|
|
|
70
87
|
|
|
71
88
|
# 首次:把插件 link 进 profile(client 半按包名从 profile 目录 resolve)
|
|
72
89
|
# 桌面端与网页端通用同一份产物,按需要装入对应 profile:
|
|
73
|
-
npx.cmd --yes @deepseek-ai/dsh@0.1.0-rc.7 plugin --profile desktop add ./packages/dsh # 桌面端
|
|
74
|
-
npx.cmd --yes @deepseek-ai/dsh@0.1.0-rc.7 plugin --profile web add ./packages/dsh # 网页端
|
|
90
|
+
npx.cmd --yes @deepseek-ai/dsh@0.1.0-rc.7 plugin --profile desktop add ./packages/dsh-lowtide # 桌面端
|
|
91
|
+
npx.cmd --yes @deepseek-ai/dsh@0.1.0-rc.7 plugin --profile web add ./packages/dsh-lowtide # 网页端
|
|
75
92
|
|
|
76
93
|
# 启动(本地源码 checkout 或 npx 均可)
|
|
77
94
|
pnpm.cmd dev # = dsh web --patch ./cordis.dev.yml
|