refactor(web): consume owner remote events directly

This commit is contained in:
imccyu
2026-08-11 16:50:03 +08:00
parent 80f1a064f5
commit e0bbe42242
75 changed files with 353 additions and 350 deletions
@@ -140,7 +140,7 @@ describe('pushed invalidations', () => {
// The fake wire face has no methods: a fetch attempt would throw.
b.ctx.remote.$dispatch('settings/document-updated', ['llm-pi-ai', 1])
b.ctx.remote.$dispatch('credentials/updated', ['OPENAI_API_KEY'])
b.ctx.emit('models/changed')
b.ctx.remote.$dispatch('llm/adapters-updated', [])
b.ctx.emit('connection/reset')
})