MCPcopy
hub / github.com/anomalyco/opencode / runIn

Function runIn

packages/opencode/test/tool/shell.test.ts:60–60  ·  view source on GitHub ↗
(directory: string, self: Effect.Effect<A, E, R>)

Source from the content-addressed store, hash-verified

58})
59
60const runIn = <A, E, R>(directory: string, self: Effect.Effect<A, E, R>) => self.pipe(provideInstance(directory))
61
62const fail = Effect.fn("ShellToolTest.fail")(function* (
63 args: Tool.InferParameters<typeof ShellTool>,

Callers 1

shell.test.tsFile · 0.85

Calls 1

provideInstanceFunction · 0.90

Tested by

no test coverage detected