Companion — claude-code Architecture
Visual mascot logic and sprite rendering for the terminal buddy.
Entity Profile
Relationship Graph
Domain
Functions
- AppStateProvider()
- CompanionFloatingBubble()
- CompanionSprite()
- NOOP_SUBSCRIBE()
- RainbowText()
- SpeechBubble()
- _temp()
- _temp()
- _temp2()
- _temp3()
- colorsEqual()
- companionIntroText()
- companionReservedColumns()
- companionUserId()
- copyNative()
- createStore()
- createTokenizer()
- defaultStyle()
- exitTeammateView()
- findBuddyTriggerPositions()
- getClipboardPath()
- getCompanion()
- getCompanionIntroAttachment()
- getDefaultAppState()
- hasMultipleCodepoints()
- hashString()
- isBuddyLive()
- isBuddyTeaserWindow()
- isEmoji()
- link()
- mulberry32()
- onChangeAppState()
- parseCSI()
- parseExtendedColor()
- parseOSC()
- parseTabStatus()
- pick()
- processSequence()
- processToken()
- release()
- renderFace()
- renderSprite()
- reset()
- roll()
- rollFrom()
- rollRarity()
- rollStats()
- rollWithSeed()
- segmentGraphemes()
- spriteColWidth()
- spriteFrameCount()
- supportsTabStatus()
- tmuxLoadBuffer()
- useAppStore()
- useBuddyNotification()
- useSetAppState()
- wrap()
- wrapForMultiplexer()
Frequently Asked Questions
What is the Companion subdomain?
Companion is a subdomain in the claude-code codebase, part of the TerminalUI domain. Visual mascot logic and sprite rendering for the terminal buddy. It contains 0 source files.
Which domain does Companion belong to?
Companion belongs to the TerminalUI domain.
What functions are in Companion?
The Companion subdomain contains 58 function(s): AppStateProvider, CompanionFloatingBubble, CompanionSprite, NOOP_SUBSCRIBE, RainbowText, SpeechBubble, _temp, _temp, and 50 more.