MCPcopy Create free account
hub / github.com/anomalyco/opencode / makeSessionService

Function makeSessionService

packages/opencode/test/acp/event.test.ts:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33function makeSessionService() {
34 return ManagedRuntime.make(LayerNode.compile(ACPSession.node)).runSync(
35 ACPSession.Service.use((service) => Effect.succeed(service)),
36 )
37}
38
39function createEventStream() {
40 const queue: GlobalEventEnvelope[] = []

Callers 1

createHarnessFunction · 0.70

Calls 2

makeMethod · 0.45
useMethod · 0.45

Tested by

no test coverage detected