@hmduc16031996/claude-mb-bridge 2.5.4 → 2.5.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmduc16031996/claude-mb-bridge",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "Bridge between Claude Code CLI and your mobile app via WebView",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/public/app.js CHANGED
@@ -1765,8 +1765,8 @@ class ClaudeRemote {
1765
1765
  if (!this.ws || this.ws.readyState !== WebSocket.OPEN || !this.currentSessionId) return;
1766
1766
 
1767
1767
  switch (key) {
1768
- case 'escape':
1769
- this.ws.send('\x1b'); // ESC
1768
+ case 'enter':
1769
+ this.ws.send('\r'); // Enter (CR)
1770
1770
  break;
1771
1771
  case 'ctrl':
1772
1772
  this.setCtrlActive(!this.ctrlActive);
package/public/index.html CHANGED
@@ -132,7 +132,7 @@
132
132
 
133
133
  <!-- Mobile Control Keys Toolbar (visible on mobile only) -->
134
134
  <div id="mobile-keys" class="mobile-keys" role="toolbar" aria-label="Control keys">
135
- <button type="button" class="mobile-key" data-key="escape" aria-label="Escape">Esc</button>
135
+ <button type="button" class="mobile-key" data-key="enter" aria-label="Enter">Ent</button>
136
136
  <button type="button" class="mobile-key mobile-key-modifier" data-key="ctrl" aria-label="Control modifier" aria-pressed="false">Ctrl</button>
137
137
  <button type="button" class="mobile-key mobile-key-modifier" data-key="shift" aria-label="Shift modifier" aria-pressed="false">Shift</button>
138
138
  <button type="button" class="mobile-key" data-key="tab" aria-label="Tab">Tab</button>