MCPcopy Create free account

hub / github.com/Nearcyan/vibecraft / functions

Functions643 in github.com/Nearcyan/vibecraft

↓ 1 callersFunctionformatKeybind
(binding: Keybind)
src/ui/KeybindConfig.ts:243
↓ 1 callersFunctionformatTokens
(tokens: number)
src/ui/FeedManager.ts:502
↓ 1 callersMethodgetActions
Get all keybind actions
src/ui/KeybindConfig.ts:121
↓ 1 callersFunctiongetAgentPort
()
src/main.ts:72
↓ 1 callersMethodgetBehaviorNames
Get list of all behavior names (for dev UI)
src/entities/animations/IdleBehaviors.ts:829
↓ 1 callersMethodgetBrushSize
* Get current brush size
src/ui/DrawMode.ts:144
↓ 1 callersFunctiongetCloudVoiceUrl
* Get the voice proxy WebSocket URL for hosted mode
src/ui/VoiceControl.ts:30
↓ 1 callersMethodgetEditableActions
Get editable keybind actions only
src/ui/KeybindConfig.ts:126
↓ 1 callersMethodgetGitStatus
* Get git status for a directory
server/GitStatusManager.ts:157
↓ 1 callersMethodgetGridRange
* Get current grid range (number of hex rings)
src/scene/WorkshopScene.ts:3342
↓ 1 callersMethodgetHexRing
* Get all hex coordinates in a ring at distance `ring` from center
src/scene/WorkshopScene.ts:2851
↓ 1 callersMethodgetHexesInRadius
* Get all hexes within a given radius from a center hex (filled circle) * @param center - Center hex coordinate * @param radius - Radius in hex
src/utils/HexGrid.ts:182
↓ 1 callersMethodgetHexesInRing
* Get all hexes in a ring at a given distance from center
src/utils/HexGrid.ts:336
↓ 1 callersMethodgetIdleBehaviorNames
Get list of idle behavior names (for dev UI)
src/entities/ClaudeMon.ts:738
↓ 1 callersMethodgetNext
Get next session needing attention (and remove from queue)
src/systems/AttentionSystem.ts:72
↓ 1 callersMethodgetNextInSpiral
* Get next hex in spiral sequence (fallback for keyboard/API creation) * Maintains spiral pattern: center → ring 1 → ring 2 → ...
src/utils/HexGrid.ts:289
↓ 1 callersFunctiongetOrCreateSession
(sessionId: string)
src/main.ts:1346
↓ 1 callersFunctiongetPackageVersion
()
server/index.ts:49
↓ 1 callersMethodgetPaintedHexes
* Get all painted hex data (for persistence)
src/scene/WorkshopScene.ts:3271
↓ 1 callersMethodgetPanner
* Get the panner node for routing audio through * Returns null if not initialized or disabled
src/audio/SpatialAudioContext.ts:141
↓ 1 callersMethodgetProjects
* Get all known projects, sorted by recency
server/ProjectsManager.ts:51
↓ 1 callersMethodgetSelectedColor
* Get current selected color (or null if eraser)
src/ui/DrawMode.ts:105
↓ 1 callersFunctiongetSessionIndexFromKey
(key: string)
src/ui/KeyboardShortcuts.ts:48
↓ 1 callersMethodgetState
* Get current state
src/ui/DrawMode.ts:254
↓ 1 callersMethodgetStationColor
(type: StationType)
src/scene/WorkshopScene.ts:2731
↓ 1 callersMethodgetStatus
* Get cached status for a session
server/GitStatusManager.ts:65
↓ 1 callersMethodgetTextTileAtHex
* Get text tile at a hex position (for click detection)
src/scene/WorkshopScene.ts:1561
↓ 1 callersMethodgetTextTiles
* Get all text tiles
src/scene/WorkshopScene.ts:1573
↓ 1 callersFunctiongetToolContext
(tool: string, input: Record<string, unknown>)
src/utils/ToolUtils.ts:33
↓ 1 callersFunctiongetVoiceSocket
()
src/ui/VoiceControl.ts:244
↓ 1 callersMethodgetVolume
* Get current volume (0-1)
src/audio/SoundManager.ts:230
↓ 1 callersMethodgetWorkingBehaviorStations
Get list of station working behavior names (for dev UI)
src/entities/ClaudeMon.ts:761
↓ 1 callersMethodgetZone
* Get a zone by session ID
src/scene/WorkshopScene.ts:637
↓ 1 callersMethodgetZoneAtHex
* Get the zone occupying a hex position (if any)
src/scene/WorkshopScene.ts:891
↓ 1 callersMethodgetZoneByIndex
* Get zone by index (for keyboard shortcuts)
src/scene/WorkshopScene.ts:952
↓ 1 callersMethodgetZoneElevations
* Get all zone elevations (for persistence)
src/scene/WorkshopScene.ts:3298
↓ 1 callersMethodgetZoneHexPosition
* Get the hex grid position for a zone
src/scene/WorkshopScene.ts:654
↓ 1 callersMethodgetZoneWorldPosition
* Get a zone's world position for spatial audio * Returns {x, z} coordinates or null if zone doesn't exist
src/scene/WorkshopScene.ts:645
↓ 1 callersMethodgetZonesNeedingAttention
* Get all zones that need attention
src/scene/WorkshopScene.ts:1915
↓ 1 callersFunctionhandleClientMessage
(ws: WebSocket, message: ClientMessage)
server/index.ts:1433
↓ 1 callersFunctionhandleCreate
()
src/main.ts:629
↓ 1 callersFunctionhandleEvent
(event: ClaudeEvent)
src/main.ts:1748
↓ 1 callersFunctionhandleInput
()
src/ui/DirectoryAutocomplete.ts:153
↓ 1 callersMethodhandleKey
* Handle key press in draw mode * Returns true if key was handled
src/ui/DrawMode.ts:193
↓ 1 callersMethodhandleMessage
(message: ServerMessage)
src/events/EventClient.ts:140
↓ 1 callersMethodhasStatusChanged
* Check if status has meaningfully changed
server/GitStatusManager.ts:142
↓ 1 callersFunctionhideNotConnectedOverlay
()
src/main.ts:2548
↓ 1 callersFunctioninitAudioOnInteraction
* Initialize audio on first user interaction (required by Web Audio API)
src/main.ts:2240
↓ 1 callersMethodisEnabled
* Check if sounds are enabled
src/audio/SoundManager.ts:213
↓ 1 callersFunctionisGitCommit
* Check if a Bash command is a git commit
src/events/handlers/soundHandlers.ts:16
↓ 1 callersFunctionisSlashCommand
(text: string)
src/ui/SlashCommands.ts:217
↓ 1 callersMethodisSpatialEnabled
* Check if spatial audio is enabled
src/audio/SoundManager.ts:269
↓ 1 callersMethodisVisible
* Check if menu is currently visible
src/ui/ContextMenu.ts:165
↓ 1 callersFunctionlinkClaudeSession
* Link a Claude Code session ID to a managed session
server/index.ts:1238
↓ 1 callersMethodload
* Load projects from disk
server/ProjectsManager.ts:214
↓ 1 callersFunctionloadDeepgramKey
Load Deepgram API key from environment
server/index.ts:317
↓ 1 callersMethodloadDefaults
()
src/ui/KeybindConfig.ts:101
↓ 1 callersFunctionloadEventsFromFile
()
server/index.ts:1350
↓ 1 callersFunctionloadFromStorage
()
src/ui/KeybindConfig.ts:68
↓ 1 callersMethodloadPaintedHexes
* Load painted hexes (for persistence)
src/scene/WorkshopScene.ts:3283
↓ 1 callersFunctionloadSessions
* Load sessions from disk on startup
server/index.ts:1025
↓ 1 callersFunctionloadTiles
* Load text tiles from disk
server/index.ts:1104
↓ 1 callersMethodloadUserBindings
()
src/ui/KeybindConfig.ts:110
↓ 1 callersMethodloadZoneElevations
* Load zone elevations (for persistence) * Stores elevations for zones that don't exist yet - they'll be applied when created
src/scene/WorkshopScene.ts:3312
↓ 1 callersMethodlowerZone
* Lower a zone's elevation (used when erasing on zones) * @param sessionId - The zone to lower * @param amount - Amount to lower (default 0.5)
src/scene/WorkshopScene.ts:841
↓ 1 callersFunctionmain
()
server/index.ts:2211
↓ 1 callersMethodmarkCompleted
* Mark a tool use as completed (used during history pre-scan)
src/ui/TimelineManager.ts:33
↓ 1 callersMethodneedsAttention
Check if a session needs attention
src/systems/AttentionSystem.ts:33
↓ 1 callersMethodnotifyHistoryHandlers
(events: ClaudeEvent[])
src/events/EventClient.ts:246
↓ 1 callersMethodnotifyRawMessageHandlers
(data: { type: string; payload?: unknown })
src/events/EventClient.ts:190
↓ 1 callersMethodnotifySessionUpdateHandlers
(session: ManagedSession)
src/events/EventClient.ts:286
↓ 1 callersMethodnotifySessionsHandlers
(sessions: ManagedSession[])
src/events/EventClient.ts:276
↓ 1 callersMethodnotifyTokensHandlers
(data: { session: string; current: number; cumulative: number })
src/events/EventClient.ts:266
↓ 1 callersMethodoccupy
* Mark a hex as occupied by a session
src/utils/HexGrid.ts:199
↓ 1 callersMethodonCameraMode
* Register callback for camera mode changes
src/scene/WorkshopScene.ts:960
↓ 1 callersMethodonChange
* Register a callback for state changes
src/ui/DrawMode.ts:231
↓ 1 callersMethodonClear
* Register a callback for clear action
src/ui/DrawMode.ts:238
↓ 1 callersMethodonEvent
(handler: EventHandler)
src/events/EventClient.ts:200
↓ 1 callersMethodonHistory
(handler: HistoryHandler)
src/events/EventClient.ts:205
↓ 1 callersMethodonSessions
(handler: SessionsHandler)
src/events/EventClient.ts:220
↓ 1 callersMethodonTokens
(handler: TokensHandler)
src/events/EventClient.ts:215
↓ 1 callersMethodonZoneElevation
* Register callback for zone elevation changes (for updating Claude positions)
src/scene/WorkshopScene.ts:973
↓ 1 callersFunctionparseTokensFromOutput
* Parse token count from Claude Code output * Patterns: * ↓ 879 tokens * ↓ 1,234 tokens * ↓ 12.5k tokens * ↓ 12k tokens
server/index.ts:359
↓ 1 callersMethodpeekNextInSpiral
* Peek at next hex in spiral without advancing the counter * Used for preview/pending zone placement
src/utils/HexGrid.ts:309
↓ 1 callersFunctionpickAnimation
* Pick an animation based on what just happened
src/events/handlers/animationHandlers.ts:27
↓ 1 callersMethodpickBehavior
()
src/entities/animations/IdleBehaviors.ts:743
↓ 1 callersMethodplayNotificationSound
Play a notification sound
src/systems/AttentionSystem.ts:140
↓ 1 callersMethodplayRandomIdleBehavior
Play a random idle behavior (for zone activation, etc.)
src/entities/ClaudeMon.ts:752
↓ 1 callersMethodplayResult
* Play success or error based on result * @param success - Whether the operation succeeded * @param options - Optional spatial source
src/audio/SoundManager.ts:329
↓ 1 callersMethodplayTool
* Play sound for a tool by tool name (e.g., "Read", "Bash") * @param toolName - The tool name * @param options - Optional spatial source
src/audio/SoundManager.ts:316
↓ 1 callersMethodplayWorkingBehavior
Force play a specific station's working behavior (for dev/testing)
src/entities/ClaudeMon.ts:766
↓ 1 callersFunctionpollPermissions
* Poll a session for permission prompts
server/index.ts:606
↓ 1 callersFunctionpositionNearZone
* Position the modal near the 3D zone
src/ui/ZoneCommandModal.ts:192
↓ 1 callersFunctionprintHealthCheck
()
bin/cli.js:79
↓ 1 callersMethodprocessStatusChanges
* Process session status changes - detect working ↔ idle transitions * - working → idle: adds to attention queue (user should check) * - * → wor
src/systems/AttentionSystem.ts:95
↓ 1 callersMethodpruneOldIcons
* Remove old icons when timeline exceeds max size
src/ui/TimelineManager.ts:111
↓ 1 callersMethodpulseStation
* Pulse a station's ring to highlight tool activity * Creates a brief glow effect (0.3s fade-in, 0.5s hold, 0.5s fade-out)
src/scene/WorkshopScene.ts:1929
↓ 1 callersMethodpulseZone
* Trigger activity pulse on a zone
src/scene/WorkshopScene.ts:1841
↓ 1 callersMethodraiseZone
* Raise a zone's elevation (used when painting under zones) * @param sessionId - The zone to raise * @param amount - Amount to raise (default 0.
src/scene/WorkshopScene.ts:784
↓ 1 callersFunctionregisterAllHandlers
()
src/events/handlers/index.ts:19
← previousnext →301–400 of 643, ranked by callers