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

Function copyReport

packages/tui/src/component/error-component.tsx:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 const issueURL = buildIssueURL(message, stack)
46
47 const copyReport = () => {
48 void clipboard.write?.(issueURL.toString()).then(() => setCopied(true))
49 }
50
51 const actions = [
52 { key: "c", label: () => (copied() ? "✓ Copied" : "Copy report"), copy: true, onUse: copyReport },

Callers 1

ErrorComponentFunction · 0.85

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected