@wendongfly/myhi 1.0.108 → 1.0.109

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/dist/chat.html CHANGED
@@ -287,7 +287,7 @@
287
287
  <button class="sk sk-claude" onclick="doSlashCmd('/compact')">压缩</button>
288
288
  <button class="sk sk-claude" onclick="openResumeSheet()">恢复</button>
289
289
  <button class="sk sk-claude" onclick="doClear()">清除</button>
290
- <button class="sk sk-claude" onclick="doRename()">命名</button>
290
+ <button class="sk sk-claude" onclick="doSlashCmd('/rename')">命名</button>
291
291
  </div>
292
292
  </div>
293
293
 
@@ -1471,7 +1471,7 @@
1471
1471
 
1472
1472
  // ── 会话命名 ──────────────────────────────────
1473
1473
  window.doSlashCmd = function(cmd) {
1474
- const hints = { '/plan': '输入计划描述(可选)', '/compact': '输入压缩提示(可选)' };
1474
+ const hints = { '/plan': '输入计划描述(可选)', '/compact': '输入压缩提示(可选)', '/rename': '输入新名称(可选)' };
1475
1475
  const input = prompt(hints[cmd] || cmd);
1476
1476
  if (input === null) return; // 取消
1477
1477
  const prompt_text = input.trim() ? `${cmd} ${input.trim()}` : cmd;
package/dist/package.json CHANGED
@@ -1 +1 @@
1
- {"type":"module","version":"1.0.108"}
1
+ {"type":"module","version":"1.0.109"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wendongfly/myhi",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "description": "Web-based terminal sharing with chat UI — control your terminal from phone via LAN/Tailscale",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",