diff --git a/src/web/public/index.html b/src/web/public/index.html index 963af0c7..0a744e40 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -1102,6 +1102,7 @@ + Set CLAUDE_CODE_EFFORT_LEVEL for all new sessions (default = no override) diff --git a/src/web/public/keyboard-accessory.js b/src/web/public/keyboard-accessory.js index e58aebba..4785eda7 100644 --- a/src/web/public/keyboard-accessory.js +++ b/src/web/public/keyboard-accessory.js @@ -92,6 +92,7 @@ const KeyboardAccessoryBar = { + @@ -125,7 +126,7 @@ const KeyboardAccessoryBar = { this.handleAction(action, btn); // Refocus terminal so keyboard stays open (tap blurs terminal → keyboard dismisses → toolbar shifts) - const refocusActions = new Set(['scroll-up', 'scroll-down', 'arrow-left', 'arrow-right', 'tab', 'shift-tab', 'ctrl-o', 'opt-enter', 'esc']); + const refocusActions = new Set(['scroll-up', 'scroll-down', 'arrow-left', 'arrow-right', 'tab', 'shift-tab', 'ctrl-o', 'opt-enter', 'esc', 'effort-max']); if (refocusActions.has(action) || ((action === 'clear' || action === 'compact') && this._confirmAction)) { if (typeof app !== 'undefined' && app.terminal) { @@ -184,6 +185,9 @@ const KeyboardAccessoryBar = { case 'ctrl-o': this.sendKey('\x0f'); break; + case 'effort-max': + this.sendCommand('/effort max'); + break; case 'init': this.sendCommand('/init'); break;