dsh-workspace-plus 0.2.0 → 0.6.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/cordis.patch.yml CHANGED
@@ -2,15 +2,52 @@
2
2
  #
3
3
  # This file is the package's `dsh.bundle.patch` layer: a top-level YAML array of
4
4
  # loader patch entries, applied when a profile lists `dsh-workspace-plus` in
5
- # `dsh.profile.bundles`. The `insert` list appends one loader row; `name` is the
6
- # package name (never a relative source path), because the profile resolves it
7
- # through Node module resolution from the profile directory.
5
+ # `dsh.profile.bundles`. The `insert` list appends loader rows; `name` is the
6
+ # module specifier the profile resolves through Node module resolution from the
7
+ # profile directory — the package name for the package-root row, and the
8
+ # package's `./notice` export for the notice sub-feature row.
8
9
  #
9
- # The row is a dual-face plugin: the Node half (exports "." -> lib/index.js)
10
- # runs in the host process, and the browser half (exports "./client" ->
11
- # lib/client.js) loads in the web GUI because package.json declares `dsh.client`.
12
- # The browser half is what adds the directory button and the workspace+
13
- # settings section.
10
+ # Two rows, two switchable sub-features. The DSH plugin page renders each row
11
+ # under this bundle's card with its own enable/disable switch (the same shape
12
+ # dsh-ops ships `dsh-ops/shell` and `dsh-ops/file` in):
13
+ #
14
+ # workspaceplus the original dual-face feature: the Node half
15
+ # (exports "." -> lib/index.js) runs in the host process —
16
+ # store, context injection, workspace_dirs tool, HTTP route —
17
+ # and the browser half (exports "./client" -> lib/client.js)
18
+ # adds the directory dialog, the workspace-row buttons, the `@`
19
+ # source and the workspace+ settings page.
20
+ #
21
+ # notice the Windows-notification sub-feature merged from dsh-notice
22
+ # (exports "./notice" -> lib/notice/index.js). Node half only:
23
+ # it watches approval/question/turn-end/agent-error events and
24
+ # raises Windows toasts; its settings page and click-to-open
25
+ # poll ride in the shared browser half, which serves them
26
+ # regardless and degrades silently when this row is off.
27
+ #
28
+ # Turning one row off removes exactly that half from the host while the bundle
29
+ # and the other sub-feature keep working. The 通知 settings page also carries a
30
+ # runtime "启用桌面通知" switch, so notifications can be silenced without
31
+ # touching the row at all.
14
32
  - insert:
15
33
  - id: workspaceplus
16
34
  name: 'dsh-workspace-plus'
35
+ - id: notice
36
+ name: 'dsh-workspace-plus/notice'
37
+ # config: # deployment defaults for the notification
38
+ # enabled: true # sub-feature; every key is a default the
39
+ # scope: roots # 通知 settings page can still override.
40
+ # roots = 只通知我打开的对话, all = 包括子代理与队友
41
+ # sound: true
42
+ # duration: short # short | long
43
+ # appId: '' # 留空则自动选择(优先 DeepSeek Harness 的 AUMID)
44
+ # scheme: dsh-notice
45
+ # registerProtocol: true
46
+ # focusOnClick: true
47
+ # minTurnMs: 0 # 短于该时长的“任务完成”不通知,0 = 全部通知
48
+ # kinds:
49
+ # approval: true # 请求权限
50
+ # question: true # 询问用户
51
+ # done: true # 任务完成
52
+ # aborted: true # 任务中断
53
+ # error: true # 任务出错