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

Function context

packages/core/src/system-context/index.ts:293–295  ·  view source on GitHub ↗
(sources: ReadonlyArray<PackedSource>)

Source from the content-addressed store, hash-verified

291}
292
293function context(sources: ReadonlyArray<PackedSource>): SystemContext {
294 return { [ContextTypeId]: sources }
295}
296
297function render(parts: ReadonlyArray<string>) {
298 return parts.join("\n\n")

Callers 3

index.tsFile · 0.70
makeFunction · 0.70
combineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected