mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-04 03:35:36 +08:00
fix(bundle): provide McpAppView after run in the mcp-app-view fixture
This commit is contained in:
@@ -11,7 +11,7 @@ Effect.gen(function*() {
|
||||
const result = yield* view.toolResult
|
||||
yield* view.sendSizeChanged({ height: result.content.length })
|
||||
}).pipe(
|
||||
Effect.provide(McpAppView.layer({ transport, appInfo: { name: "page", version: "1.0.0" } })),
|
||||
McpAppView.run,
|
||||
Effect.provide(McpAppView.layer({ transport, appInfo: { name: "page", version: "1.0.0" } })),
|
||||
Effect.runPromise
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user