MCPcopy Index your code
hub / github.com/anomalyco/opencode / lspLayer

Function lspLayer

packages/opencode/test/lsp/index.test.ts:14–17  ·  view source on GitHub ↗
(flags: Parameters<typeof RuntimeFlags.layer>[0] = {})

Source from the content-addressed store, hash-verified

12import { awaitWithTimeout, testEffect } from "../lib/effect"
13
14const lspLayer = (flags: Parameters<typeof RuntimeFlags.layer>[0] = {}) =>
15 LayerNode.compile(LayerNode.group([LSP.node, Config.node, RuntimeFlags.node, EventV2Bridge.node]), [
16 [RuntimeFlags.node, RuntimeFlags.layer(flags)],
17 ])
18
19const it = testEffect(Layer.mergeAll(lspLayer(), LayerNode.compile(CrossSpawnSpawner.node)))
20const experimentalTyIt = testEffect(

Callers 1

index.test.tsFile · 0.85

Calls 1

layerMethod · 0.45

Tested by

no test coverage detected