@wendongfly/myhi 1.0.26 → 1.0.27

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.
Files changed (2) hide show
  1. package/dist/index.html +3 -7
  2. package/package.json +1 -1
package/dist/index.html CHANGED
@@ -517,13 +517,9 @@
517
517
  }
518
518
  if (data.dir) {
519
519
  _userDir = data.dir;
520
- const cwdInput = document.getElementById('inp-cwd');
521
- cwdInput.value = data.dir;
522
- cwdInput.readOnly = true;
523
- cwdInput.style.opacity = '0.6';
524
- // 隐藏目录选择按钮和最近目录
525
- cwdInput.parentElement.querySelector('button').style.display = 'none';
526
- document.getElementById('recent-dirs').style.display = 'none';
520
+ // 隐藏整个工作目录选择区域(后端强制使用绑定目录)
521
+ const cwdField = document.getElementById('inp-cwd').closest('.field');
522
+ if (cwdField) cwdField.style.display = 'none';
527
523
  }
528
524
  }).catch(() => {});
529
525
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wendongfly/myhi",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
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",