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

Function markdownBody

packages/opencode/src/cli/cmd/run/entry.body.ts:40–49  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

38}
39
40function markdownBody(content: string): RunEntryBody {
41 if (!content) {
42 return RUN_ENTRY_NONE
43 }
44
45 return {
46 type: "markdown",
47 content,
48 }
49}
50
51function userBody(raw: string): RunEntryBody {
52 if (!raw.trim()) {

Callers 1

entryBodyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected