From f726894373a44433cefa0d0e6b5964f61b2cb2e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 03:00:20 +0000 Subject: [PATCH] Sync generated provider output --- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .pi/skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- .../skills/impeccable/scripts/live-browser.js | 21 ++++++++++++++++++- 13 files changed, 260 insertions(+), 13 deletions(-) diff --git a/.agents/skills/impeccable/scripts/live-browser.js b/.agents/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.agents/skills/impeccable/scripts/live-browser.js +++ b/.agents/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.claude/skills/impeccable/scripts/live-browser.js b/.claude/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.claude/skills/impeccable/scripts/live-browser.js +++ b/.claude/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.cursor/skills/impeccable/scripts/live-browser.js b/.cursor/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.cursor/skills/impeccable/scripts/live-browser.js +++ b/.cursor/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.gemini/skills/impeccable/scripts/live-browser.js b/.gemini/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.gemini/skills/impeccable/scripts/live-browser.js +++ b/.gemini/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.github/skills/impeccable/scripts/live-browser.js b/.github/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.github/skills/impeccable/scripts/live-browser.js +++ b/.github/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.kiro/skills/impeccable/scripts/live-browser.js b/.kiro/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.kiro/skills/impeccable/scripts/live-browser.js +++ b/.kiro/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.opencode/skills/impeccable/scripts/live-browser.js b/.opencode/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.opencode/skills/impeccable/scripts/live-browser.js +++ b/.opencode/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.pi/skills/impeccable/scripts/live-browser.js b/.pi/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.pi/skills/impeccable/scripts/live-browser.js +++ b/.pi/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.qoder/skills/impeccable/scripts/live-browser.js b/.qoder/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.qoder/skills/impeccable/scripts/live-browser.js +++ b/.qoder/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.rovodev/skills/impeccable/scripts/live-browser.js b/.rovodev/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.rovodev/skills/impeccable/scripts/live-browser.js +++ b/.rovodev/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.trae-cn/skills/impeccable/scripts/live-browser.js b/.trae-cn/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.trae-cn/skills/impeccable/scripts/live-browser.js +++ b/.trae-cn/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/.trae/skills/impeccable/scripts/live-browser.js b/.trae/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/.trae/skills/impeccable/scripts/live-browser.js +++ b/.trae/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; } diff --git a/plugin/skills/impeccable/scripts/live-browser.js b/plugin/skills/impeccable/scripts/live-browser.js index 3c2e72555..ed9606409 100644 --- a/plugin/skills/impeccable/scripts/live-browser.js +++ b/plugin/skills/impeccable/scripts/live-browser.js @@ -6489,10 +6489,13 @@ ) { return; } + if (isPageEditableElement(deepActive) && !isInlineEditActive(deepActive)) { + return; + } // While a contenteditable text-leaf is focused, let the browser handle // all keys except Escape. Escape cancels the current edit (restores // original text) and blurs without saving, staying in CONFIGURING. - if (e.target.isContentEditable && inlineEditRows.some((r) => r.el === e.target)) { + if (e.target.isContentEditable && isInlineEditActive(e.target)) { if (e.key !== 'Escape') return; e.preventDefault(); e.stopPropagation(); @@ -8312,6 +8315,21 @@ void main() { && !steerLocked; } + function isPageEditableElement(el) { + if (!el || own(el)) return false; + if (/^(INPUT|TEXTAREA|SELECT)$/.test(el.tagName || '')) return true; + return !!el.isContentEditable; + } + + function isInlineEditActive(el) { + return !!el && inlineEditRows.some((r) => r.el === el); + } + + function isPageEditableActive() { + const active = activeElementDeep(); + return isPageEditableElement(active) && !isInlineEditActive(active); + } + function pageHasHostTextSelection() { const sel = window.getSelection?.(); if (!sel || sel.isCollapsed) return false; @@ -8325,6 +8343,7 @@ void main() { function shouldSteerAutoFocus() { return shouldFocusSteerChat() && !steerFocusSuspended + && !isPageEditableActive() && performance.now() >= steerFocusPauseUntil; }