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

Function setBody

packages/tui/src/component/error-component.tsx:224–224  ·  view source on GitHub ↗
(body: string)

Source from the content-addressed store, hash-verified

222 const marker = "\n... (truncated)"
223 const head = `The opencode TUI crashed with an unexpected error.\n\n**Error:** ${message}\n\n**Stack trace:**\n`
224 const setBody = (body: string) => url.searchParams.set("description", head + "```\n" + body + "\n```")
225
226 setBody(stack)
227 if (url.toString().length <= MAX_URL_LENGTH) return url

Callers 1

buildIssueURLFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected