dsh-auto-collapse 0.1.5 → 0.1.6
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.en.md +2 -0
- package/README.md +2 -0
- package/lib/client.js +1 -1
- package/package.json +9 -1
package/README.en.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
> A DeepSeek Harness Web client plugin that auto-collapses tool cards and Think blocks into one-line summaries, so the chat keeps only what the model says.
|
|
4
4
|
>
|
|
5
5
|
> 中文: [README.md](./README.md)
|
|
6
|
+
>
|
|
7
|
+
> This plugin is listed in the Plugin marketplace: [marketplace link](https://www.dsh.so/artifact/dsh-auto-collapse/)
|
|
6
8
|
|
|
7
9
|
## What it does
|
|
8
10
|
|
package/README.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -747,7 +747,7 @@ var __dshcfBundle = (() => {
|
|
|
747
747
|
* 找不到时不缓存(内容增长后祖先可能变为可滚动),每 pass 重探的代价
|
|
748
748
|
* 只是几次 clean-layout 的 computed style / scrollHeight 读取。 */
|
|
749
749
|
findScrollContainer(flow) {
|
|
750
|
-
if (this.scrollContainerFlow === flow && this.scrollContainer !== null && this.scrollContainer.isConnected) {
|
|
750
|
+
if (this.scrollContainerFlow === flow && this.scrollContainer !== null && this.scrollContainer.isConnected && nodeWithin(flow, this.scrollContainer)) {
|
|
751
751
|
return this.scrollContainer;
|
|
752
752
|
}
|
|
753
753
|
let node = flow.parentElement;
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-auto-collapse",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "DeepSeek Harness Web 客户端插件:把会话里的工具卡片与 Think 推理块折叠成一行,折叠态实时显示当前正在进行的工作(工具名 + 正在执行的命令/参数、或思考内容),运行中带流光动画;点击展开/收起。让界面只保留模型说的话。",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/a179-sanae/dsh-auto-collapse.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/a179-sanae/dsh-auto-collapse#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/a179-sanae/dsh-auto-collapse/issues"
|
|
13
|
+
},
|
|
6
14
|
"main": "lib/index.js",
|
|
7
15
|
"types": "lib/types/index.d.ts",
|
|
8
16
|
"exports": {
|