mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
refactor(mcp): bind artifact and bundle comparison through a derived binding that acquires under the artifact resource scope (#11554)
* refactor(mcp): bind artifact and bundle comparison through an acquiring derived binding that owns their artifact resource scope compare_artifacts and compare_bundles registered bespoke handlers that read caller-named files under the server's artifact resource scope and then repeated the session-derived delivery. The derived binding kind now takes an optional acquisition with the resource scope it reads under; the table passes the scope, the readers open and release handles in it (failed releases stay owned for retry), and acquisition failures are delivered unchanged. The artifact unknown and the bundle Evidence moved to application owners. * fix(mcp): return a bundle comparison's record-pair failure as a typed Result bundleComparisonExecution declared a Result but let compareBundles throw AnalysisInputError for missing or repeated record pairs. It now returns the typed failure; unexpected errors still propagate.
This commit is contained in:
1 parent
a447161a84
commit
f6df353002
11 files changed
+369
-297
No files matched your search
@@ -12,11 +12,9 @@
|
||||
"src/server/registerApplicationTools/projectMobileApplicationGraph.ts": 1,
|
||||
"src/server/registerApplicationTools/traceFeature.ts": 1,
|
||||
"src/server/registerApplicationTools/traceSemantics.ts": 1,
|
||||
"src/server/registerArtifactComparisonTool.ts": 1,
|
||||
"src/server/registerBinaryDiagnosticsTools.ts": 1,
|
||||
"src/server/registerBrowserScenarioTool.ts": 1,
|
||||
"src/server/registerBrowserTools.ts": 8,
|
||||
"src/server/registerBundleComparisonTool.ts": 1,
|
||||
"src/server/registerCloseLifecycleTool.ts": 1,
|
||||
"src/server/registerCutterTools.ts": 1,
|
||||
"src/server/registerDesktopBuildTools.ts": 2,
|
||||
|
||||
Reference in new issue
Block a user