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

Function reset

packages/core/test/tool-bash.test.ts:82–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80)
81
82const reset = () => {
83 assertions.length = 0
84 runs.length = 0
85 denyAction = undefined
86 runFailure = undefined
87 afterPermission = () => Effect.void
88 result = {
89 command: "mock",
90 exitCode: 0,
91 output: Buffer.from("hello\n"),
92 stdout: Buffer.from("hello\n"),
93 stderr: Buffer.alloc(0),
94 outputTruncated: false,
95 stdoutTruncated: false,
96 stderrTruncated: false,
97 }
98}
99
100const withTool = <A, E, R>(
101 directory: string,

Callers 1

tool-bash.test.tsFile · 0.70

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected