mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 05:16:16 +00:00
fix(mcp): isolate optional observation adapter failures (#838)
This commit is contained in:
1 parent
78f4848d70
commit
be3cfbffdf
31 files changed
+741
-102
No files matched your search
@@ -1,9 +1,11 @@
|
||||
import { CdpBrowserProvider } from "./browser/CdpBrowserProvider.js";
|
||||
import { createBrowserObservationProvider } from "./composition/browserObservation.js";
|
||||
import { projectAnalysisError } from "./domain/analysisErrorProjection.js";
|
||||
import type { JsonValue } from "./domain/jsonValue.js";
|
||||
|
||||
/** Build the passive browser provider; scope is supplied on each request. */
|
||||
export const browserContext = () => ({ provider: new CdpBrowserProvider() });
|
||||
export const browserContext = () => ({
|
||||
provider: createBrowserObservationProvider(),
|
||||
});
|
||||
|
||||
/** Project a browser operation failure consistently across CLI command groups. */
|
||||
export const browserCliError = (
|
||||
|
||||
Reference in new issue
Block a user