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

Function globalEvent

packages/opencode/test/cli/run/stream.transport.test.ts:366–372  ·  view source on GitHub ↗
(payload: GlobalEvent["payload"])

Source from the content-addressed store, hash-verified

364}
365
366function globalEvent(payload: GlobalEvent["payload"]): GlobalEvent {
367 return {
368 directory: "/tmp",
369 project: "project-1",
370 payload,
371 }
372}
373
374function footer(fn?: (commit: StreamCommit) => void) {
375 const commits: StreamCommit[] = []

Callers 2

wrapGlobalStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected