glad-web 1.0.12 → 1.0.13

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.
@@ -835,9 +835,9 @@
835
835
  if (!actionBtn) return;
836
836
 
837
837
  if (toolKey === 'codex') {
838
- actionBtn.dataset.key = 'codex-app';
839
- actionBtn.textContent = '/app';
840
- actionBtn.title = 'Send /app';
838
+ actionBtn.dataset.key = 'codex-perm';
839
+ actionBtn.textContent = '/perm';
840
+ actionBtn.title = 'Send /perm';
841
841
  return;
842
842
  }
843
843
 
@@ -1139,8 +1139,8 @@
1139
1139
  const keyBtn = e.target.closest('.key-btn'); if (!keyBtn) return;
1140
1140
  const key = keyBtn.dataset.key;
1141
1141
  if (key === 'ctrl') { modifiers[key] = !modifiers[key]; keyBtn.classList.toggle('active', modifiers[key]); return; }
1142
- if (key === 'codex-app') {
1143
- sendWS('/app');
1142
+ if (key === 'codex-perm') {
1143
+ sendWS('/perm');
1144
1144
  setTimeout(() => { sendWS('\r'); }, 1000);
1145
1145
  return;
1146
1146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glad-web",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Glad transforms terminal-based AI coding tools into a polished, mobile-friendly local Web interface.",
5
5
  "main": "index.js",
6
6
  "bin": {