The design language that makes your AI harness better at design.
JavaScript
Sync generated provider output
github-actions[bot]c030119abde5
diff --git a/.agent/skills/impeccable/scripts/live-browser.js b/.agent/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.agent/skills/impeccable/scripts/live-browser.js+++ b/.agent/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.agents/skills/impeccable/scripts/live-browser.js b/.agents/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.agents/skills/impeccable/scripts/live-browser.js+++ b/.agents/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.claude/skills/impeccable/scripts/live-browser.js b/.claude/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.claude/skills/impeccable/scripts/live-browser.js+++ b/.claude/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.cursor/skills/impeccable/scripts/live-browser.js b/.cursor/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.cursor/skills/impeccable/scripts/live-browser.js+++ b/.cursor/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.dsh/skills/impeccable/scripts/live-browser.js b/.dsh/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.dsh/skills/impeccable/scripts/live-browser.js+++ b/.dsh/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.gemini/skills/impeccable/scripts/live-browser.js b/.gemini/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.gemini/skills/impeccable/scripts/live-browser.js+++ b/.gemini/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.github/skills/impeccable/scripts/live-browser.js b/.github/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.github/skills/impeccable/scripts/live-browser.js+++ b/.github/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.grok/skills/impeccable/scripts/live-browser.js b/.grok/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.grok/skills/impeccable/scripts/live-browser.js+++ b/.grok/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.hermes/skills/impeccable/scripts/live-browser.js b/.hermes/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.hermes/skills/impeccable/scripts/live-browser.js+++ b/.hermes/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.kiro/skills/impeccable/scripts/live-browser.js b/.kiro/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.kiro/skills/impeccable/scripts/live-browser.js+++ b/.kiro/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.omp/skills/impeccable/scripts/live-browser.js b/.omp/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.omp/skills/impeccable/scripts/live-browser.js+++ b/.omp/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.opencode/skills/impeccable/scripts/live-browser.js b/.opencode/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.opencode/skills/impeccable/scripts/live-browser.js+++ b/.opencode/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.pi/skills/impeccable/scripts/live-browser.js b/.pi/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.pi/skills/impeccable/scripts/live-browser.js+++ b/.pi/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.qoder/skills/impeccable/scripts/live-browser.js b/.qoder/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.qoder/skills/impeccable/scripts/live-browser.js+++ b/.qoder/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.rovodev/skills/impeccable/scripts/live-browser.js b/.rovodev/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.rovodev/skills/impeccable/scripts/live-browser.js+++ b/.rovodev/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.trae-cn/skills/impeccable/scripts/live-browser.js b/.trae-cn/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.trae-cn/skills/impeccable/scripts/live-browser.js+++ b/.trae-cn/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.trae/skills/impeccable/scripts/live-browser.js b/.trae/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.trae/skills/impeccable/scripts/live-browser.js+++ b/.trae/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.veto/skills/impeccable/scripts/live-browser.js b/.veto/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.veto/skills/impeccable/scripts/live-browser.js+++ b/.veto/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/.vibe/skills/impeccable/scripts/live-browser.js b/.vibe/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/.vibe/skills/impeccable/scripts/live-browser.js+++ b/.vibe/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/cursor-plugin/skills/impeccable/scripts/live-browser.js b/cursor-plugin/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/cursor-plugin/skills/impeccable/scripts/live-browser.js+++ b/cursor-plugin/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}diff --git a/plugin/skills/impeccable/scripts/live-browser.js b/plugin/skills/impeccable/scripts/live-browser.jsindex 75abdf0c0..504e75b9c 100644--- a/plugin/skills/impeccable/scripts/live-browser.js+++ b/plugin/skills/impeccable/scripts/live-browser.js@@ -2512,7 +2512,7 @@row.appendChild(buildConfigureTrailingCluster([action, count], voiceBtn, go));syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -2616,7 +2616,7 @@row.appendChild(buildConfigureTrailingCluster([count], voiceBtn, create));syncInsertCreateButton(create, input);syncConfigureInputChrome();- if (!controlsLocked) setTimeout(() => input.focus(), 60);+ if (!controlsLocked && !touchPrimary()) setTimeout(() => input.focus(), 60);return row;}@@ -10592,6 +10592,11 @@ void main() {return true;}+ // Programmatic focus raises the soft keyboard on touch devices (#1067).+ function touchPrimary() {+ return !!window.matchMedia?.('(pointer: coarse)').matches;+ }+function shouldSteerAutoFocus() {return shouldFocusSteerChat()&& !steerFocusSuspended@@ -10800,6 +10805,7 @@ void main() {function syncPageChatFocus(reason) {steerFocusLog('syncPageChatFocus', { reason });+ if (touchPrimary()) return;if (state === 'CONFIGURING') focusConfigureInput(reason);else if (shouldSteerAutoFocus()) focusSteerChat(reason);}@@ -10987,7 +10993,8 @@ void main() {file: opts?.file || '',});}- if (keepExpanded) focusPageChatInput('steer-error-restore');+ if (keepExpanded && touchPrimary()) preparePageChatInputForTyping();+ else if (keepExpanded) focusPageChatInput('steer-error-restore');else syncPageChatFocus('steer-unlock');}