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

Function systemBody

packages/opencode/src/cli/cmd/run/entry.body.ts:77–79  ·  view source on GitHub ↗
(raw: string, phase: StreamCommit["phase"])

Source from the content-addressed store, hash-verified

75}
76
77function systemBody(raw: string, phase: StreamCommit["phase"]): RunEntryBody {
78 return textBody(phase === "progress" ? raw : raw.trim())
79}
80
81export function entryFlags(commit: StreamCommit): EntryFlags {
82 if (commit.summary) {

Callers 1

entryBodyFunction · 0.85

Calls 1

textBodyFunction · 0.70

Tested by

no test coverage detected