dsh-screen-beyond 0.5.7 → 0.5.8

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
@@ -31,7 +31,7 @@
31
31
 
32
32
  ## 安装
33
33
 
34
- 当前版本:0.5.7。
34
+ 当前版本:0.5.8。
35
35
 
36
36
  ### 纯聊天:独立运行(不需要 DSH)
37
37
 
@@ -49,12 +49,13 @@
49
49
  插件依赖 DSH 0.2.x(桌面/网页均可)。
50
50
 
51
51
  ```bash
52
- # 从本地目录安装(当前推荐)
52
+ # 从 npm 安装(已发布)
53
+ dsh plugin --profile <profile> add dsh-screen-beyond
54
+
55
+ # 或从本地目录安装
53
56
  dsh plugin --profile <profile> add link:<插件目录>
54
57
  ```
55
58
 
56
- > `dsh-screen-beyond` 尚未发布到 npm;在发布前,`dsh plugin add dsh-screen-beyond` 会失败,请先用上面的本地 `link:` 方式,或下载 GitHub Release 的压缩包。
57
-
58
59
  装好后重启一次 DSH,左侧栏出现「屏幕彼端」。
59
60
 
60
61
  > 安装完成后第一次打开是「纯聊天版」,可直接用;想要屏幕/手机看下面的「环境」。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-screen-beyond",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "type": "module",
5
5
  "description": "屏幕彼端 · 住在屏幕另一端的 AI 小伙伴:人设卡、记忆与日记、生活作息、地图/2D/3D 舞台、聊天界面,以及她自己的虚拟屏幕和安卓手机。",
6
6
  "main": "./lib/index.js",
@@ -85,7 +85,7 @@ input[type=range]{flex:1;accent-color:#2563eb}
85
85
  <a href="#data" data-tab="data"><span>💾</span>数据</a>
86
86
  <a href="#tutorial" data-tab="tutorial"><span>📖</span>教程</a>
87
87
  </nav>
88
- <div class="sidefoot">v0.5.7 · <span id="sideMode">…</span><br><a href="/screen" target="_blank" style="color:#3b82f6;text-decoration:none;margin-right:10px">看屏幕</a><a href="/" style="color:#3b82f6;text-decoration:none">回到聊天</a></div>
88
+ <div class="sidefoot">v0.5.8 · <span id="sideMode">…</span><br><a href="/screen" target="_blank" style="color:#3b82f6;text-decoration:none;margin-right:10px">看屏幕</a><a href="/" style="color:#3b82f6;text-decoration:none">回到聊天</a></div>
89
89
  </aside>
90
90
 
91
91
  <div class="main">
@@ -960,7 +960,7 @@ async function renderData(){
960
960
  + '</div>'
961
961
  + '<div class="card"><h2>备份</h2><div class="small">导出把数据目录打包成 zip;导入覆盖恢复。系统每天凌晨 4 点后会自动备份一次。</div>'
962
962
  + '<div class="row"><button class="btn primary" onclick="doBackup()">立即备份</button><span class="hint" style="flex:1;margin-left:8px">备份到数据目录下的 backups</span></div><button class="btn ghost" style="margin-top:8px">导出备份</button></div>'
963
- + '</div><div class="col side2"><div class="card"><h2>版本</h2><div class="small">v0.5.7 · 本地运行时</div></div></div></div>';
963
+ + '</div><div class="col side2"><div class="card"><h2>版本</h2><div class="small">v0.5.8 · 本地运行时</div></div></div></div>';
964
964
  }
965
965
 
966
966
  // ================= router =================