dsh-annotator 0.5.5 → 0.6.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
@@ -11,6 +11,7 @@
11
11
  - **元素拾取**:hover 高亮、点击拾取,拾取层不污染页面样式。
12
12
  - **元素级信息**:唯一 CSS selector、页面 URL、坐标与尺寸、文本摘录、元素截图。
13
13
  - **评论标注**:每个拾取元素可附评论,连同定位信息一起交给 agent。
14
+ - **参照模式(改动 ↔ 参照)**:照别人页面改自己页面时,把标注分成左右两栏——左栏「改动区」放要改的元素,右栏「参照区」放只读的样式与结构来源。一条改动可以挂多条参照(1:N),每条参照标明照哪些维度(布局、间距、配色、字号、圆角、交互、文案);页面不再有角色,同一页可以既有改动又有参照。插入的提示词带一句任务说明与编号「执行要求」:只改带 T 编号的那几处、带 R 编号的只准照不准动、改完逐条自检。
14
15
  - **引用芯片**:点「插入」后,DSH GUI 输入框里出现 `标注 #pN` 芯片和元素截图附件;提交时自动展开为完整定位信息。芯片管线不可用时自动回退为纯文本插入。
15
16
  - **浏览器长命复用**:首次「启动」拉起所选浏览器,之后每次都接回同一个实例——不丢登录态,断开连接也不关窗。默认不接管你的日常 Chrome;ego lite 是例外,它优先接管你已经开着的那个 ego lite,并在自己的「agent 空间」里干活。
16
17
  - **一键清空与撤销**:底部「清空」一次清掉全部标注,提示条上的「撤销」可整批恢复。
@@ -24,7 +25,7 @@
24
25
 
25
26
  ## 安装
26
27
 
27
- 同一个包,桌面端与 Web 端都能装,区别只在装进哪个 profile:Desktop 用 `--profile desktop`,Web 用 `--profile web`(`dsh web` 等价于 `dsh --profile web`)。
28
+ 同一个包,桌面端与 Web 端都能装。`--profile` 填的不是随意的名字,而是 DeepSeek Harness 两种客户端形态各自对应的 profile:桌面 App 固定用 `desktop`(该 profile 由 Desktop 应用管理),浏览器端固定用 `web`(`dsh web` 等价于 `dsh --profile web`)。`ls ~/.dsh/profiles/` 下可能还会看到 `headless`、`tui` 等其他 profile——那是命令行形态,没有图形面板,装进去也看不见本插件。
28
29
 
29
30
  ### 方式 A:插件市场(图形界面)
30
31
 
@@ -49,7 +50,7 @@ dsh plugin --profile web add dsh-annotator
49
50
  dsh web
50
51
  ```
51
52
 
52
- 钉版本写成 `dsh-annotator@0.5.4`,从仓库装写成 `github:zhongqixiao/dsh-annotator`。
53
+ 钉版本写成 `dsh-annotator@0.6.1`,从仓库装写成 `github:zhongqixiao/dsh-annotator`。
53
54
 
54
55
  ### 方式 C:本地目录(开发模式)
55
56
 
@@ -74,7 +75,7 @@ dsh web
74
75
 
75
76
  重启 DSH 生效:Desktop 退出后重新打开;Web 端重新跑一次 `dsh web`。GUI 右侧边栏出现「元素标注」面板即安装成功;后续升级只需更新包再重启,面板会自动加载新版。
76
77
 
77
- 卸载与更新走同一套入口:侧栏「插件」页里可停用、更新、卸载,命令行则用 `dsh plugin --profile desktop remove dsh-annotator`。
78
+ 卸载与更新走同一套入口:侧栏「插件」页里可停用、更新、卸载,命令行则用 `dsh plugin --profile desktop remove dsh-annotator`(Web 端把 `desktop` 换成 `web`,装进哪个 profile 就从哪个卸)。
78
79
 
79
80
  ## 使用流程
80
81