@wendongfly/myhi 1.0.111 → 1.0.112

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
@@ -1505,6 +1505,10 @@
1505
1505
  if (!_slashCmd) return;
1506
1506
  const input = document.getElementById('slash-input').value.trim();
1507
1507
  const prompt_text = input ? `${_slashCmd} ${input}` : _slashCmd;
1508
+ // /rename 同时更新 myhi 会话标题
1509
+ if (_slashCmd === '/rename' && input) {
1510
+ socket.emit('rename', { sessionId: SESSION_ID, title: input });
1511
+ }
1508
1512
  closeSlashSheet();
1509
1513
  if (!isController && canTakeControl()) socket.emit('take-control', { sessionId: SESSION_ID });
1510
1514
  socket.emit('agent:query', { prompt: prompt_text });
package/dist/package.json CHANGED
@@ -1 +1 @@
1
- {"type":"module","version":"1.0.111"}
1
+ {"type":"module","version":"1.0.112"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wendongfly/myhi",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
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",