dsh-lowtide 0.2.7 → 0.3.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 +3 -3
- package/cordis.patch.yml +47 -47
- package/lib/client.js +291 -418
- package/lib/client.js.map +1 -1
- package/lib/index.js +37 -19
- package/lib/types/client/components/InterceptCard.d.ts +2 -16
- package/lib/types/client/components/TaskForm.d.ts +3 -4
- package/lib/types/client/i18n.d.ts +0 -1
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/store.d.ts +1 -1
- package/lib/types/src/session-picker.d.ts +1 -1
- package/package.json +104 -104
- package/LICENSE +0 -21
- package/lib/types/client/hooks/useInterceptDraft.d.ts +0 -32
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ lowtide 是 DeepSeek Harness (dsh) 的一个插件。它解决的问题其实很
|
|
|
54
54
|
| 界面 | 槽位 | 说明 |
|
|
55
55
|
|---|---|---|
|
|
56
56
|
| ① 价格状态胶囊 | `conversation.session.header.utilities` | 状态点 + 闲时/忙时/执行中(本地时钟推导,推送中断也不冻结)· 队列数(价格明细移入悬停提示);**点击即可编辑闲时/忙时时段**(本地时间 · 多段 · 实时色带预览) |
|
|
57
|
-
| ②
|
|
57
|
+
| ② 忙时提示卡 | `conversation.input.dock`(列表槽) | 忙时输入时显示建议,原生 composer 始终保留:现在就跑 vs 投递闲时队列 |
|
|
58
58
|
| ③ 队列面板 | `conversation.input.dock` | 分组队列 · 行内裁定(✓ 批准 / ⏸ 顺延 / ✕ 放弃)· 已放弃可恢复 · 立即开跑 · 执行中独立分组 |
|
|
59
59
|
| ④ 批次确认卡 | `shell.overlay` | 批次窗口前 T-30min 出现,未放行不执行(fail-safe) |
|
|
60
60
|
| ⑤ 执行报告 | `shell.overlay` | 结论先行:本次已省 ¥X · 异常置顶 · 采样候选择优 · 智能迭代审查意见 · 历史报告 |
|
|
@@ -75,7 +75,7 @@ dsh plugin --profile web add dsh-lowtide.tgz
|
|
|
75
75
|
dsh web
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
-
|
|
78
|
+
- 宿主区间:`>=0.1.0-rc.7 <0.2.3-0`。网页端需要 `@deepseek-ai/dsh` ≥ 0.1.5-rc.1;0.3.0 已在独立数据目录的 DeepSeek Harness 0.2.2-rc.1 web 分身中完成启动、输入和会话选择器验证。早期桌面/CLI 宿主验证记录见 `CHANGELOG.md`。
|
|
79
79
|
- 两个 profile 的状态文件相互独立(`DSH_PROFILE` 隔离),桌面端与网页端可并行运行。
|
|
80
80
|
- 状态文件:`$DSH_HOME/lowtide.json`(web 端为 `$DSH_HOME/profiles/web/lowtide.json`)。
|
|
81
81
|
|
|
@@ -113,7 +113,7 @@ pnpm.cmd dev # = dsh web --patch ./cordis.dev.yml
|
|
|
113
113
|
| POST | `/tasks/approve-all` | 全部放行 |
|
|
114
114
|
| POST | `/estimate` | 测算:峰价(当前模型)vs 谷价(批量模型) |
|
|
115
115
|
| POST | `/batch/run-now` | 立即开跑(测试/手动) |
|
|
116
|
-
| POST | `/dismiss` |
|
|
116
|
+
| POST | `/dismiss` | 今日不再提醒 |
|
|
117
117
|
| GET | `/health` | 心跳 |
|
|
118
118
|
|
|
119
119
|
## 执行引擎
|
package/cordis.patch.yml
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
# dsh-lowtide bundle layer.
|
|
2
|
-
# Applied when a profile lists dsh-lowtide among dsh.profile.bundles
|
|
3
|
-
# (installed via `dsh plugin --profile <name> add dsh-lowtide`).
|
|
4
|
-
|
|
5
|
-
- insert:
|
|
6
|
-
- id: lowtide
|
|
7
|
-
name: dsh-lowtide
|
|
8
|
-
|
|
9
|
-
# Permission presets: a row patch REPLACES the targeted row's whole config,
|
|
10
|
-
# so restate the dsh base table verbatim and append the lowtide presets
|
|
11
|
-
# (read/standard/trusted, all approval=never — night runs are unattended by
|
|
12
|
-
# design).
|
|
13
|
-
#
|
|
14
|
-
# ⚠️ VERSION BINDING: the three base rows below are a verbatim copy of
|
|
15
|
-
# `@deepseek-ai/dsh-base/cordis.patch.yml` (row id `permission`) as of
|
|
16
|
-
# dsh-base 0.1.1-rc.2 — re-verified identical in 0.1.5-rc.1. Because a row
|
|
17
|
-
# patch replaces the whole config, a future dsh-base release that ADDS a base
|
|
18
|
-
# preset would have it silently dropped here: after upgrading the Harness,
|
|
19
|
-
# diff this block against the installed `@deepseek-ai/dsh-base/cordis.patch.yml`
|
|
20
|
-
# and restate any new rows. (`dsh --dump-config` prints the composed tree.)
|
|
21
|
-
- id: permission
|
|
22
|
-
config:
|
|
23
|
-
presets:
|
|
24
|
-
read-only:
|
|
25
|
-
sandbox: read-only
|
|
26
|
-
approval: ask
|
|
27
|
-
workspace-write:
|
|
28
|
-
sandbox: workspace-write
|
|
29
|
-
approval: ask
|
|
30
|
-
danger-full-access:
|
|
31
|
-
sandbox: danger-full-access
|
|
32
|
-
approval: never
|
|
33
|
-
lt-readonly:
|
|
34
|
-
sandbox: read-only
|
|
35
|
-
approval: never
|
|
36
|
-
name: Lowtide read-only
|
|
37
|
-
description: Read-only analysis without approval prompts (lowtide).
|
|
38
|
-
lt-standard:
|
|
39
|
-
sandbox: workspace-write
|
|
40
|
-
approval: never
|
|
41
|
-
name: Lowtide standard
|
|
42
|
-
description: Workspace writes without approval prompts (lowtide).
|
|
43
|
-
lt-trusted:
|
|
44
|
-
sandbox: danger-full-access
|
|
45
|
-
approval: never
|
|
46
|
-
name: Lowtide trusted
|
|
47
|
-
description: Full file access without approval prompts (lowtide).
|
|
1
|
+
# dsh-lowtide bundle layer.
|
|
2
|
+
# Applied when a profile lists dsh-lowtide among dsh.profile.bundles
|
|
3
|
+
# (installed via `dsh plugin --profile <name> add dsh-lowtide`).
|
|
4
|
+
|
|
5
|
+
- insert:
|
|
6
|
+
- id: lowtide
|
|
7
|
+
name: dsh-lowtide
|
|
8
|
+
|
|
9
|
+
# Permission presets: a row patch REPLACES the targeted row's whole config,
|
|
10
|
+
# so restate the dsh base table verbatim and append the lowtide presets
|
|
11
|
+
# (read/standard/trusted, all approval=never — night runs are unattended by
|
|
12
|
+
# design).
|
|
13
|
+
#
|
|
14
|
+
# ⚠️ VERSION BINDING: the three base rows below are a verbatim copy of
|
|
15
|
+
# `@deepseek-ai/dsh-base/cordis.patch.yml` (row id `permission`) as of
|
|
16
|
+
# dsh-base 0.1.1-rc.2 — re-verified identical in 0.1.5-rc.1. Because a row
|
|
17
|
+
# patch replaces the whole config, a future dsh-base release that ADDS a base
|
|
18
|
+
# preset would have it silently dropped here: after upgrading the Harness,
|
|
19
|
+
# diff this block against the installed `@deepseek-ai/dsh-base/cordis.patch.yml`
|
|
20
|
+
# and restate any new rows. (`dsh --dump-config` prints the composed tree.)
|
|
21
|
+
- id: permission
|
|
22
|
+
config:
|
|
23
|
+
presets:
|
|
24
|
+
read-only:
|
|
25
|
+
sandbox: read-only
|
|
26
|
+
approval: ask
|
|
27
|
+
workspace-write:
|
|
28
|
+
sandbox: workspace-write
|
|
29
|
+
approval: ask
|
|
30
|
+
danger-full-access:
|
|
31
|
+
sandbox: danger-full-access
|
|
32
|
+
approval: never
|
|
33
|
+
lt-readonly:
|
|
34
|
+
sandbox: read-only
|
|
35
|
+
approval: never
|
|
36
|
+
name: Lowtide read-only
|
|
37
|
+
description: Read-only analysis without approval prompts (lowtide).
|
|
38
|
+
lt-standard:
|
|
39
|
+
sandbox: workspace-write
|
|
40
|
+
approval: never
|
|
41
|
+
name: Lowtide standard
|
|
42
|
+
description: Workspace writes without approval prompts (lowtide).
|
|
43
|
+
lt-trusted:
|
|
44
|
+
sandbox: danger-full-access
|
|
45
|
+
approval: never
|
|
46
|
+
name: Lowtide trusted
|
|
47
|
+
description: Full file access without approval prompts (lowtide).
|