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

Function layer

packages/opencode/test/server/session-list.test.ts:16–19  ·  view source on GitHub ↗
(experimentalWorkspaces: boolean)

Source from the content-addressed store, hash-verified

14import { RuntimeFlags } from "@/effect/runtime-flags"
15
16const layer = (experimentalWorkspaces: boolean) =>
17 AppNodeBuilder.build(LayerNode.group([Database.node, SessionNs.node, SessionProjector.node]), [
18 [RuntimeFlags.node, RuntimeFlags.layer({ experimentalWorkspaces })],
19 ])
20const it = testEffect(layer(false))
21const itWorkspaces = testEffect(layer(true))
22

Callers 1

Calls 1

layerMethod · 0.45

Tested by

no test coverage detected