dsh-side-chat-plus 0.3.3 → 0.4.0-alpha.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
@@ -99,7 +99,15 @@ and you never have to answer before you're ready.
99
99
 
100
100
  - [Node.js](https://nodejs.org) ≥ 20
101
101
  - [pnpm](https://pnpm.io)
102
- - DSH ≥ `0.1.0-rc.6` (the harness `engines.dsh` constraint)
102
+ - DSH ≥ `0.1.0-rc.6` (the harness `engines.dsh` constraint); verified against
103
+ `0.1.5-alpha.2` and `0.1.6-alpha.1`. Where those lines differ (`catalog()` vs
104
+ `selectFor()` on permission presets, the added `maxImageDimension` image
105
+ limit, the `IconSendOutline16` icon removal) the plugin feature-detects and
106
+ serves both.
107
+ - `pnpm build` ends with `check-seed-exports`, which compares the client
108
+ bundle's frozen-module-table imports against a real DSH install. Set
109
+ `DSH_INSTALL` (or pass `--shell`) when the install is not discoverable via
110
+ `dsh` on `PATH`; without a target the check skips instead of failing.
103
111
 
104
112
  ## Build
105
113
 
@@ -298,6 +306,7 @@ Open DSH **Settings → 侧边聊天 (Side chat)** to configure:
298
306
  | `sendImmediately` | on | Whether selecting text sends it immediately, or stages it as an attachment. |
299
307
  | `defaultPrompt` | *(empty)* | Extra prompt appended when the selection is sent immediately. |
300
308
  | `bringMode` | `draft` | Where brought-back content lands: `draft` into the composer, or `context` as a collapsed context row. |
309
+ | `panelHome` | `sidebar-right` | Where the panel lives: `sidebar-right` docks it into the new built-in right sidebar as a "Side chat" tab (same rail as document previews, default); `floating` is the classic drag-resizable right-edge panel. In floating mode the side chat yields automatically while the built-in sidebar is open (docked, fullscreen or floated), so the two never cover each other. |
301
310
 
302
311
  Preferences are stored in the DSH settings namespace `dsh-side-chat`.
303
312
 
package/README.zh.md CHANGED
@@ -66,7 +66,13 @@ Codex 式能力之上,额外支持针对当前**问题弹框**的侧边聊天
66
66
 
67
67
  - [Node.js](https://nodejs.org) ≥ 20
68
68
  - [pnpm](https://pnpm.io)
69
- - DSH ≥ `0.1.0-rc.6`(即 `engines.dsh` 声明的约束)
69
+ - DSH ≥ `0.1.0-rc.6`(即 `engines.dsh` 声明的约束);已在 `0.1.5-alpha.2` 与
70
+ `0.1.6-alpha.1` 上验证。两代存在差异的地方(权限预设的 `catalog()` 与
71
+ `selectFor()`、新增的 `maxImageDimension` 图片上限、被移除的
72
+ `IconSendOutline16` 图标)插件都做了特性探测,两代都能服务。
73
+ - `pnpm build` 最后会跑 `check-seed-exports`:把客户端 bundle 对冻结模块表的
74
+ 引用与一份真实 DSH 安装做比对。若 `dsh` 不在 `PATH` 上而探测不到安装目录,
75
+ 可设 `DSH_INSTALL`(或传 `--shell`);找不到目标时会跳过而不是失败。
70
76
 
71
77
  ## 构建
72
78
 
@@ -240,6 +246,7 @@ pnpm 会链接该 checkout,`dsh` 以同样方式激活这个 bundle。
240
246
  | `sendImmediately` | 开 | 选中内容后立即发送,还是先作为附件放入输入框。 |
241
247
  | `defaultPrompt` | *(空)* | 「立即发送」开启时,附加在选中内容后的额外提示词。 |
242
248
  | `bringMode` | `draft` | 带回内容的落地方式:`draft` 写入输入框草稿,`context` 注入为折叠提示行。 |
249
+ | `panelHome` | `sidebar-right` | 侧边聊天的宿主:`sidebar-right` 停靠到新版右侧栏(作为「侧边聊天」标签,与文档预览共用同一边栏,默认),`floating` 经典浮动面板(可拖拽调宽)。浮动模式下,内置右侧栏打开(停靠/全屏/浮动)时侧聊会自动让位,避免互相遮挡。 |
243
250
 
244
251
  偏好设置保存在 DSH 设置命名空间 `dsh-side-chat` 下。
245
252
 
package/dsh.plugin.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-side-chat-plus",
3
- "version": "0.3.3",
3
+ "version": "0.4.0-alpha.1",
4
4
  "main": "./lib/index.js",
5
- "description": "选中对话内容 → 在侧边聊天中提问:按主会话隔离的隐藏普通会话,继承模型/思考难度/权限(可调),带「需要时查工作区/主会话」开关。",
5
+ "description": "选中对话内容 → 在侧边聊天中提问:按主会话隔离的隐藏普通会话,继承模型/思考难度/权限(可调),带「需要时查工作区/主会话」开关;可停靠到新版右侧栏或使用经典浮动面板。",
6
6
  "engines": {
7
- "dsh": "^0.1.0-rc.6 || ^0.1.1-0 || ^0.1.2-0"
7
+ "dsh": "^0.1.0-rc.6 || ^0.1.1-0 || ^0.1.2-0 || ^0.1.5-alpha.1 || ^0.1.5-alpha.2 || ^0.1.6-0"
8
8
  },
9
9
  "contributes": {
10
10
  "tools": [],