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

Method text

packages/plugin/src/shell.ts:113–113  ·  view source on GitHub ↗

* Read from stdout as a string

(encoding?: BufferEncoding)

Source from the content-addressed store, hash-verified

111 * Read from stdout as a string
112 */
113 text(encoding?: BufferEncoding): string
114
115 /**
116 * Read from stdout as a JSON object

Callers 15

bundleInputsFunction · 0.65
jsonFunction · 0.65
publish.tsFile · 0.65
api.tsFile · 0.65
htmlFunction · 0.65
html.test.tsFile · 0.65
readFunction · 0.65
readFunction · 0.65
signFunction · 0.65
tailFunction · 0.65
promote-limits.tsFile · 0.65

Calls

no outgoing calls

Tested by 14

bundleInputsFunction · 0.52
htmlFunction · 0.52
rootCommitFunction · 0.52
fetchFunction · 0.52
loadFunction · 0.52
driveToolLoopFunction · 0.52
removeCreatedWorktreeFunction · 0.52
createWorktreeScopedFunction · 0.52
eventStreamResponseFunction · 0.52
fetchFunction · 0.52
responseTextFunction · 0.52
execFunction · 0.52