dsh-sidenote 0.4.1 → 0.4.3

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
@@ -33,7 +33,7 @@ dsh plugin --profile web add dsh-sidenote
33
33
 
34
34
  从当前主会话 **fork**(全量历史快照,不压缩)出独立侧边会话,在右侧栏多轮对话:
35
35
 
36
- - 顶栏「侧边」按钮 / `+` 菜单 / 斜杠命令 `/side` 三个入口,多实例并存;
36
+ - 顶栏「侧边」按钮 / 右侧栏 guide / 斜杠命令 `/side` 三个入口;
37
37
  - 与主对话**同一套渲染材质**:工具卡、思考预览、任务卡、模型/权限切换、`@` 引用、图片附件;
38
38
  - 审批/提问**在面板内直接答复**,不用跳回主视图;跑完有 toast 通知;
39
39
  - 继承历史默认折叠成指示卡;折叠态/滚动位置刷新不丢;`Alt+J` 主↔侧切焦点。
@@ -93,7 +93,7 @@ dsh plugin --profile web add dsh-sidenote
93
93
  | 命令 | 说明 |
94
94
  |---|---|
95
95
  | `pnpm typecheck` | tsc --noEmit |
96
- | `pnpm test` | vitest 单测(136 例) |
96
+ | `pnpm test` | vitest 单测(213 例) |
97
97
  | `pnpm build` | 类型声明 + tsdown(host ESM + client CJS bundle,纯度门) |
98
98
  | `pnpm test:mount` | 挂载冒烟:真实 `dsh web` + 伪造会话日志 + Playwright 十条 journey lane(`BS_VERSION`/`DSH_CMD` 切版本矩阵) |
99
99
 
package/cordis.patch.yml CHANGED
@@ -8,9 +8,10 @@
8
8
  # — appends this single `insert` (one plugin row) to the bundle stack. No
9
9
  # manual profile edits.
10
10
  #
11
- # dsh-sidenote requires dsh-better-sidebar as a hard peer dependency: the
12
- # client half declares `inject = ['betterSidebar', ...]`, so it stays inactive
13
- # (no UI, no behavior) until better-sidebar provides the service.
11
+ # dsh-better-sidebar is an OPTIONAL peer (see peerDependenciesMeta), not a hard
12
+ # dependency: the native leg registers straight against the host's
13
+ # `sidebarRightTabs` service and works on a host with no better-sidebar at all.
14
+ # The frozen legacy leg registers only when better-sidebar >=0.12.0 shows up.
14
15
  - insert:
15
16
  - id: side-chat
16
17
  name: 'dsh-sidenote'