dsh-screen-beyond 0.5.9 → 0.5.10

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.9。
34
+ 当前版本:0.5.10。
35
35
 
36
36
  ### 纯聊天:独立运行(不需要 DSH)
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-screen-beyond",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "type": "module",
5
5
  "description": "屏幕彼端 · 住在屏幕另一端的 AI 小伙伴:人设卡、记忆与日记、生活作息、地图/2D/3D 舞台、聊天界面,以及她自己的虚拟屏幕和安卓手机。",
6
6
  "main": "./lib/index.js",
@@ -1328,7 +1328,7 @@ async function resolveWindowId(label) {
1328
1328
  hit = wins.find((w) => String(w.title || '').toLowerCase().includes(s) || String(w.window_key).toLowerCase().includes(s) || String(w.hwnd) === s) || wins[0];
1329
1329
  }
1330
1330
  if (hit.window_id) return hit.window_id;
1331
- const b = await kernelCall('/windows/bind', { hwnd: hit.hwnd, window_key: hit.window_key });
1331
+ const b = await kernelCall('/windows/bind', { hwnd: hit.hwnd });
1332
1332
  return (b && (b.window_id || (b.window && b.window.window_id))) || null;
1333
1333
  }
1334
1334
  function runShell(command, timeoutMs = 120000) {
@@ -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.9 · <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.10 · <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.9 · 本地运行时</div></div></div></div>';
963
+ + '</div><div class="col side2"><div class="card"><h2>版本</h2><div class="small">v0.5.10 · 本地运行时</div></div></div></div>';
964
964
  }
965
965
 
966
966
  // ================= router =================