MCPcopy Create free account

hub / github.com/Nearcyan/vibecraft / functions

Functions643 in github.com/Nearcyan/vibecraft

↓ 3 callersFunctionhideDropdown
()
src/ui/SlashCommands.ts:119
↓ 3 callersFunctionhideDropdown
()
src/ui/DirectoryAutocomplete.ts:121
↓ 3 callersFunctionhideZoneCommandModal
()
src/ui/ZoneCommandModal.ts:165
↓ 3 callersFunctionisOriginAllowed
* Validate WebSocket origin header to prevent CSRF attacks. * Only browser clients should connect, so we require a valid origin.
server/index.ts:123
↓ 3 callersMethodnotifyCameraModeChange
()
src/scene/WorkshopScene.ts:964
↓ 3 callersMethodnotifyListeners
()
src/ui/KeybindConfig.ts:225
↓ 3 callersMethodnotifyZoneElevationChange
(sessionId: string, elevation: number)
src/scene/WorkshopScene.ts:977
↓ 3 callersMethodrandomCooldown
()
src/entities/animations/IdleBehaviors.ts:739
↓ 3 callersMethodremove
* Remove a subagent when its Task completes
src/entities/SubagentManager.ts:84
↓ 3 callersMethodremovePendingZone
* Remove a pending zone (called when real zone is created or on failure) * @param id - Identifier of the pending zone
src/scene/WorkshopScene.ts:443
↓ 3 callersFunctionrenderDropdown
()
src/ui/SlashCommands.ts:67
↓ 3 callersFunctionrenderDropdown
()
src/ui/DirectoryAutocomplete.ts:59
↓ 3 callersFunctionrenderKeybindSettings
* Render the keybind settings UI
src/ui/KeybindSettings.ts:36
↓ 3 callersFunctionrenderMarkdown
(text: string)
src/ui/FeedManager.ts:539
↓ 3 callersFunctionsaveTiles
* Save text tiles to disk
server/index.ts:1091
↓ 3 callersFunctionselectResult
(path: string)
src/ui/DirectoryAutocomplete.ts:129
↓ 3 callersFunctionsendQuestionResponse
(response: string)
src/ui/QuestionModal.ts:193
↓ 3 callersMethodsetOverviewMode
* Switch to bird's eye overview showing all zones
src/scene/WorkshopScene.ts:900
↓ 3 callersMethodsetState
Set the character's state (affects animation and status indicators)
src/entities/ICharacter.ts:40
↓ 3 callersMethodsetStationContext
* Set context text above a station in a specific zone
src/scene/WorkshopScene.ts:2680
↓ 3 callersMethodsetZoneAttention
* Set attention state on a zone (persists until cleared)
src/scene/WorkshopScene.ts:1861
↓ 3 callersMethodshow
* Show the menu at a screen position with given items and context
src/ui/ContextMenu.ts:110
↓ 3 callersMethodstart
* Start capturing and streaming audio * @param sendAudio - Called with PCM ArrayBuffer for each audio chunk
src/audio/VoiceInput.ts:33
↓ 3 callersMethodupdate
* Update panels that need re-rendering
src/scene/StationPanels.ts:168
↓ 3 callersFunctionupdateAttentionBadge
()
src/main.ts:1698
↓ 3 callersMethodupdateStatusColor
()
src/entities/ClaudeMon.ts:529
↓ 3 callersMethodupdateStatusColor
()
src/entities/Claude.ts:219
↓ 2 callersMethodadd
* Add an event to the timeline
src/ui/TimelineManager.ts:40
↓ 2 callersFunctionaddEvent
(event: ClaudeEvent)
server/index.ts:1279
↓ 2 callersFunctionapplyStreamingMode
(enabled: boolean)
src/main.ts:2326
↓ 2 callersFunctioncancelRecording
()
src/ui/VoiceControl.ts:401
↓ 2 callersFunctioncheckSessionHealth
* Check if tmux sessions are still alive and update status
server/index.ts:947
↓ 2 callersMethodcleanup
()
src/audio/VoiceInput.ts:146
↓ 2 callersMethodclearAllContexts
* Clear all station contexts for a zone (or all zones if no sessionId)
src/scene/WorkshopScene.ts:2714
↓ 2 callersMethodclearPaintedHex
* Clear a painted hex (or lower a zone if hex is occupied)
src/scene/WorkshopScene.ts:3215
↓ 2 callersFunctioncompareVersions
* Compare semantic versions. Returns: * -1 if a < b * 0 if a === b * 1 if a > b
src/ui/VersionChecker.ts:29
↓ 2 callersMethodcreateArm
(side: number)
src/entities/ClaudeMon.ts:325
↓ 2 callersMethodcreateArm
(xOffset: number)
src/entities/Claude.ts:128
↓ 2 callersFunctioncreateDropdown
()
src/ui/SlashCommands.ts:42
↓ 2 callersFunctioncreateDropdown
()
src/ui/DirectoryAutocomplete.ts:30
↓ 2 callersMethodcreateResponsePreview
* Create HTML for tool response preview
src/ui/FeedManager.ts:477
↓ 2 callersMethodcreateTextTileTexture
* Create texture for text tile with multi-line support
src/scene/WorkshopScene.ts:1603
↓ 2 callersMethodcreateWorldHexGrid
* Create a world-level hex grid overlay * Renders subtle hex outlines across the floor to establish * the hex grid as the "base reality" of the
src/scene/WorkshopScene.ts:2276
↓ 2 callersMethodcreateZone
* Create a new zone for a session * @param sessionId - Unique session identifier * @param options - Optional color and hint position for directi
src/scene/WorkshopScene.ts:491
↓ 2 callersMethoddecreaseBrushSize
* Decrease brush size
src/ui/DrawMode.ts:163
↓ 2 callersFunctiondeleteManagedSession
* Delete a managed session
src/main.ts:456
↓ 2 callersMethoddrawLabelShape
* Draw glowing text label - no box, just text with glow effect
src/scene/WorkshopScene.ts:1355
↓ 2 callersFunctionescapeHtml
(text: string)
src/ui/DirectoryAutocomplete.ts:248
↓ 2 callersMethodexecuteAction
(action: string)
src/ui/ContextMenu.ts:176
↓ 2 callersFunctionfetchResults
(query: string)
src/ui/DirectoryAutocomplete.ts:138
↓ 2 callersMethodfindNearestFreeFromCartesian
* Find nearest free hex from world cartesian coordinates
src/utils/HexGrid.ts:280
↓ 2 callersFunctionformatFileChange
( fileName: string, options?: { added?: number; removed?: number; lines?: number } )
src/scene/ZoneNotifications.ts:345
↓ 2 callersFunctionformatNumber
(n: number)
src/ui/ZoneInfoModal.ts:300
↓ 2 callersFunctionformatSearchResult
(pattern: string, matchCount?: number)
src/scene/ZoneNotifications.ts:372
↓ 2 callersFunctiongetContainer
* Get or create the toast container
src/ui/Toast.ts:29
↓ 2 callersMethodgetPaintedHexMeshes
* Get all painted hex meshes (for raycasting)
src/scene/WorkshopScene.ts:3264
↓ 2 callersMethodgetQueue
Get current attention queue
src/systems/AttentionSystem.ts:28
↓ 2 callersFunctiongetStationForTool
(tool: string)
shared/types.ts:219
↓ 2 callersFunctiongetToolIcon
(tool: string)
src/utils/ToolUtils.ts:11
↓ 2 callersFunctionhandleTranscript
(data: { transcript?: string; is_final?: boolean; speech_final?: boolean })
src/ui/VoiceControl.ts:272
↓ 2 callersFunctionhidePermissionModal
()
src/ui/PermissionModal.ts:138
↓ 2 callersMethodhideThinking
* Hide the thinking indicator for a session (or all sessions)
src/ui/FeedManager.ts:166
↓ 2 callersFunctionhideZoneInfoModal
()
src/ui/ZoneInfoModal.ts:79
↓ 2 callersMethodincreaseBrushSize
* Increase brush size (max 4)
src/ui/DrawMode.ts:151
↓ 2 callersMethodindexToHexCoord
* Convert linear index to hex coordinate using spiral pattern * Index 0 = center, 1-6 = ring 1, 7-18 = ring 2, etc.
src/utils/HexGrid.ts:366
↓ 2 callersMethodinit
* Initialize the draw mode UI * Call after DOM is ready
src/ui/DrawMode.ts:59
↓ 2 callersMethodisNearBottom
* Check if feed is scrolled near the bottom
src/ui/FeedManager.ts:108
↓ 2 callersFunctionlinkSessionOnServer
* Notify server about session linking
src/main.ts:1534
↓ 2 callersMethodmatches
Check if an event matches any binding for an action
src/ui/KeybindConfig.ts:141
↓ 2 callersMethodmoveToPosition
Move character to a specific position
src/entities/ICharacter.ts:37
↓ 2 callersMethodnotifyConnectionHandlers
(connected: boolean)
src/events/EventClient.ts:256
↓ 2 callersMethodnotifyEventHandlers
(event: ClaudeEvent)
src/events/EventClient.ts:236
↓ 2 callersMethodoffRender
(callback: (delta: number) => void)
src/scene/WorkshopScene.ts:2353
↓ 2 callersMethodonConnection
(handler: ConnectionHandler)
src/events/EventClient.ts:210
↓ 2 callersMethodonRawMessage
Handle raw messages that aren't standard event types (e.g., voice transcripts)
src/events/EventClient.ts:231
↓ 2 callersMethodonRender
(callback: (delta: number) => void)
src/scene/WorkshopScene.ts:2349
↓ 2 callersFunctionopenNewSessionModal
* Open the new session modal (callable from anywhere) * @param hintPosition - Optional world position from click for direction-aware placement
src/main.ts:549
↓ 2 callersMethodpaintHex
* Paint a hex with a color (draw mode) * If hex is already painted with same color, increases height * Returns true if painted, false if skipped
src/scene/WorkshopScene.ts:3079
↓ 2 callersFunctionpaintWithBrush
(centerHex: { q: number; r: number }, playSound: boolean)
src/main.ts:931
↓ 2 callersMethodparseHexKey
* Parse a hex key back to coordinates
src/utils/HexGrid.ts:142
↓ 2 callersMethodplayColorSelect
* Play a chord when selecting a draw mode color * Each color has its own characteristic chord * @param colorIndex - 0-5 for colors, -1 for erase
src/audio/SoundManager.ts:390
↓ 2 callersMethodplayHover
* Play hover sound with pitch based on distance from center * @param normalizedDistance - 0 = center, 1 = edge (will be clamped) * * Tuning c
src/audio/SoundManager.ts:341
↓ 2 callersMethodplayIdleBehavior
Force play a specific idle behavior (for dev/testing)
src/entities/ClaudeMon.ts:743
↓ 2 callersMethodpollAll
* Poll all tracked directories
server/GitStatusManager.ts:112
↓ 2 callersFunctionpollTokens
* Poll tmux output for token counts
server/index.ts:388
↓ 2 callersFunctionprocessEvent
(event: ClaudeEvent)
server/index.ts:1257
↓ 2 callersMethodremoveEmptyState
* Remove the empty state placeholder
src/ui/FeedManager.ts:185
↓ 2 callersFunctionremoveToast
(toast: HTMLElement)
src/ui/Toast.ts:92
↓ 2 callersMethodrenderPanelCanvas
* Render panel content to canvas
src/scene/StationPanels.ts:225
↓ 2 callersMethodrequestPermission
Request notification permission (call on user interaction)
src/systems/AttentionSystem.ts:162
↓ 2 callersFunctionsaveToStorage
(bindings: Record<string, Keybind[]>)
src/ui/KeybindConfig.ts:80
↓ 2 callersMethodscheduleReconnect
()
src/events/EventClient.ts:120
↓ 2 callersMethodselectColor
* Select a color by index (0-5)
src/ui/DrawMode.ts:121
↓ 2 callersFunctionselectCommand
(command: string)
src/ui/SlashCommands.ts:127
↓ 2 callersMethodselectEraser
* Select eraser mode
src/ui/DrawMode.ts:134
↓ 2 callersFunctionsendCommand
* Send the command to the zone's session
src/ui/ZoneCommandModal.ts:247
↓ 2 callersFunctionsendPermissionResponse
(response: string)
src/ui/PermissionModal.ts:166
↓ 2 callersFunctionsendPermissionResponse
* Send a permission response to a session. * The response should be the option number ("1", "2", "3", etc.)
server/index.ts:708
↓ 2 callersFunctionsendPromptToManagedSession
* Send a prompt to the selected managed session
src/main.ts:509
↓ 2 callersFunctionsendToTmuxSafe
* Safely send text to a tmux session using load-buffer + paste-buffer. * Uses execFile with proper arguments to prevent shell injection.
server/index.ts:225
← previousnext →101–200 of 643, ranked by callers