data timeout fixes; research agent improvements

This commit is contained in:
2026-04-24 20:43:42 -04:00
parent 1800363566
commit 319d81c41f
37 changed files with 672 additions and 280 deletions

View File

@@ -634,6 +634,23 @@ const injectShadowStyles = () => {
}
}
const updateShadowStopOverride = (enabled: boolean) => {
const chatEl = document.querySelector('vue-advanced-chat')
if (!chatEl?.shadowRoot) return
chatEl.shadowRoot.querySelector('#vac-stop-override')?.remove()
if (enabled) {
const style = document.createElement('style')
style.id = 'vac-stop-override'
style.textContent = `
.vac-send-disabled {
pointer-events: auto !important;
cursor: pointer !important;
}
`
chatEl.shadowRoot.appendChild(style)
}
}
watch(() => channelStore.isReady, async (ready) => {
if (!ready) return
await nextTick()
@@ -644,6 +661,10 @@ watch(() => channelStore.isReady, async (ready) => {
}, 100)
})
watch(isAgentProcessing, (val) => {
updateShadowStopOverride(val)
})
onUnmounted(() => {
wsManager.removeHandler(handleMessage)
})
@@ -711,6 +732,7 @@ onUnmounted(() => {
@mousedown="isStopPressed = true"
@mouseup="isStopPressed = false"
:style="{
pointerEvents: 'auto',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',