(replacements: LayerNode.Replacements = [])
| 40 | }), |
| 41 | ) |
| 42 | const toolLayer = (replacements: LayerNode.Replacements = []) => |
| 43 | AppNodeBuilder.build(LayerNode.group([ToolRegistry.node, ToolRegistry.toolsNode, WebFetchTool.node]), [ |
| 44 | [PermissionV2.node, permission], |
| 45 | [ToolOutputStore.node, ToolOutputStore.nodeWithoutConfig], |
| 46 | ...replacements, |
| 47 | ]) |
| 48 | const it = testEffect(toolLayer([[LayerNodePlatform.httpClient, http]])) |
| 49 | const live = testEffect(toolLayer()) |
| 50 |