dsh-peers-syh 0.7.1 → 0.7.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.2
4
+
5
+ - README 新增「让 AI 自己装(一句话)」:给出可直接粘给 DSH 的一句话指令 + agent 执行清单(profile 定位、npm 源、dependencies 与 bundles 必须双写、手机端完全访问与同一 Remote 账号)。
6
+ - 无代码改动。
7
+
3
8
  ## 0.7.1
4
9
 
5
10
  - 修:手机窄屏(约 390px)下 Remote 弹窗排版塌陷——标题被左上角图标压住、主机行状态竖排、设备名被输入框盖住。新增 `@media (max-width:560px)` 补丁:面板行允许换行且输入框窄屏占满一行;Remote 头部标题换行并留出 54px 图标位;分组标题与主机行允许换行、状态列 `flex:0 0 auto`。
package/README.md CHANGED
@@ -21,6 +21,26 @@
21
21
  - 不共享剪贴板、不投屏、不做双端同时编辑同一个会话;
22
22
  - 不替代 Remote 的审批:对端需要人点确认时,只有人能点。
23
23
 
24
+ ## 让 AI 自己装(一句话)
25
+
26
+ 不用记命令:把下面这段整句发给你的 DSH(桌面端或 dsh-Go 手机端),它自己会装。
27
+
28
+ > 按 https://github.com/xuanzhihang-s/dsh-peers-syh 的 README「让 AI 自己装」一节,帮我把 dsh-peers-syh 装到本机并配好;需要登录、扫码、输密码或点授权的时候停下来等我。
29
+
30
+ 给 agent 的执行清单:
31
+
32
+ 1. 确认已装 `ds-harness-remote` 并登录同一账号(Remote 弹窗里能看到对方设备)。
33
+ 2. 定位当前 profile 目录:`~/.dsh/profiles/<profile>`(桌面端是 `desktop`,dsh-Go 手机端是 `web`)。
34
+ 3. 在该目录执行:`npm i dsh-peers-syh@0.7.2 --registry=https://registry.npmjs.org`。
35
+ 4. 把 `"dsh-peers-syh"` **同时**写进该 profile 的 `package.json` 的 `dependencies` 和 `dsh.profile.bundles`。只写 bundles 会被 npm/pnpm 当多余包清掉,插件页会显示「异常 + 未安装」。
36
+ 5. 重启 DSH(手机端重启 App)。重启后 Remote「远程工作台」弹窗里会出现「设备名称」区块。
37
+ 6. 给两台设备起名,然后试一句:让它报告对方的工作目录。
38
+
39
+ 手机端两点注意:
40
+
41
+ - 在 dsh-Go 里把权限预设设成**完全访问**,否则 npm 安装与写 profile 会被审批卡住、装不完整。
42
+ - 跨网需要两端登录同一个 Remote 账号(默认服务端 `dsh.r2049.cn`,用知乎账号登录)。
43
+
24
44
  ## 前置要求
25
45
 
26
46
  | 项目 | 要求 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-peers-syh",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "给每台 DSH 设备起名(可拨 / 已连接 / 仅连入三源合并),名字跨设备互报,并让一个 agent 直接给另一台设备上的 agent 派活(基于 ds-harness-remote);面板长在 Remote 的「远程工作台」弹窗里。",
5
5
  "keywords": [
6
6
  "dsh",