MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getAttributes

Function getAttributes

cli/src/components/blocks/agent-branch-item.tsx:51–54  ·  view source on GitHub ↗
(extra: number = 0)

Source from the content-addressed store, hash-verified

49
50 const baseTextAttributes = theme.messageTextAttributes ?? 0
51 const getAttributes = (extra: number = 0): number | undefined => {
52 const combined = baseTextAttributes | extra
53 return combined === 0 ? undefined : combined
54 }
55
56 const isExpanded = !isCollapsed
57 const toggleFrameColor = isExpanded ? theme.secondary : theme.muted

Callers 2

renderExpandedContentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected