feat(core): return RefreshResult from ContextBridge.refresh()

Surfaces provider errors through RefreshResult.errors instead of
silently ignoring them.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-01-18 20:28:54 +00:00
parent 037589cf4f
commit b73e603c90
2 changed files with 20 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ export type { DataSource } from "./data-source"
export type { ContextProvider } from "./context-provider"
// Context Bridge
export type { ProviderError, RefreshResult } from "./context-bridge"
export { ContextBridge } from "./context-bridge"
// Reconciler