MCPcopy
hub / github.com/anomalyco/opencode / fallbackStart

Function fallbackStart

packages/opencode/src/cli/cmd/run/tool.ts:224–231  ·  view source on GitHub ↗
(ctx: ToolFrame)

Source from the content-addressed store, hash-verified

222}
223
224function fallbackStart(ctx: ToolFrame): string {
225 const extra = info(ctx.input)
226 if (!extra) {
227 return `⚙ ${ctx.name}`
228 }
229
230 return `⚙ ${ctx.name} ${extra}`
231}
232
233function fallbackFinal(ctx: ToolFrame): string {
234 if (ctx.status === "error") {

Callers 1

toolScrollFunction · 0.85

Calls 1

infoFunction · 0.70

Tested by

no test coverage detected