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

Function trace

packages/opencode/test/server/httpapi-exercise/runner.ts:200–205  ·  view source on GitHub ↗
(options: Options, scenario: ActiveScenario, phase: string)

Source from the content-addressed store, hash-verified

198}
199
200function trace(options: Options, scenario: ActiveScenario, phase: string) {
201 return Effect.sync(() => {
202 if (!options.trace) return
203 console.log(`[trace] ${scenario.name}: ${phase}`)
204 })
205}
206
207function projectOptions(
208 project: ProjectOptions,

Callers 2

runActiveFunction · 0.70
withContextFunction · 0.70

Calls 2

syncMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected