Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nearcyan/vibecraft
/ functions
Functions
643 in github.com/Nearcyan/vibecraft
⨍
Functions
643
◇
Types & classes
133
↓ 2 callers
Method
setGridRange
* Set grid range and rebuild the world hex grid
src/scene/WorkshopScene.ts:3349
↓ 2 callers
Method
setSpatialEnabled
* Enable/disable spatial audio
src/audio/SoundManager.ts:262
↓ 2 callers
Method
setState
(state: ClaudeState)
src/entities/Claude.ts:208
↓ 2 callers
Method
setVolume
* Set master volume (0-1)
src/audio/SoundManager.ts:220
↓ 2 callers
Method
setZoneElevation
* Set a zone's elevation directly (no animation, for loading saved state)
src/scene/WorkshopScene.ts:3328
↓ 2 callers
Function
setupVoiceControl
(deps: VoiceControlDeps)
src/ui/VoiceControl.ts:57
↓ 2 callers
Function
showTextLabelModal
(options: TextLabelModalOptions = {})
src/ui/TextLabelModal.ts:91
↓ 2 callers
Function
showUpdateBanner
* Show update banner at top of page
src/ui/VersionChecker.ts:108
↓ 2 callers
Method
spawnClickPulse
* Spawn a click pulse effect at a world position * Creates an expanding ring + hex wave that ripples outward * * IMPORTANT: This uses additiv
src/scene/WorkshopScene.ts:2770
↓ 2 callers
Method
spawnStackEffect
* Spawn visual effect when hex height increases (stacking feedback)
src/scene/WorkshopScene.ts:3174
↓ 2 callers
Method
stop
Force stop current behavior
src/entities/animations/IdleBehaviors.ts:810
↓ 2 callers
Function
stopRecording
()
src/ui/VoiceControl.ts:186
↓ 2 callers
Method
toggle3DMode
* Toggle 3D stacking mode
src/ui/DrawMode.ts:182
↓ 2 callers
Method
track
* Register a session's working directory to track
server/GitStatusManager.ts:48
↓ 2 callers
Function
updateCharCount
(textarea: HTMLTextAreaElement | null, charCount: HTMLElement | null)
src/ui/TextLabelModal.ts:153
↓ 2 callers
Method
updateScrollButton
* Update scroll button visibility
src/ui/FeedManager.ts:117
↓ 2 callers
Method
updateTabTitle
Update browser tab title with attention count
src/systems/AttentionSystem.ts:131
↓ 2 callers
Method
updateTextTileAtHex
* Update text tile position at a hex (after height change)
src/scene/WorkshopScene.ts:3160
↓ 2 callers
Function
updateVoiceHint
()
src/ui/KeybindSettings.ts:194
↓ 2 callers
Function
validateDirectoryPath
* Validate and sanitize a directory path for use in shell commands. * Returns the resolved path if valid, throws if invalid.
server/index.ts:150
↓ 1 callers
Function
addAntennaDetails
(group: THREE.Group)
src/scene/stations/AntennaStation.ts:7
↓ 1 callers
Function
addBookshelfDetails
(group: THREE.Group)
src/scene/stations/BookshelfStation.ts:7
↓ 1 callers
Function
addDeskDetails
(group: THREE.Group)
src/scene/stations/DeskStation.ts:7
↓ 1 callers
Function
addPortalDetails
(group: THREE.Group)
src/scene/stations/PortalStation.ts:7
↓ 1 callers
Method
addProject
* Add or update a project directory
server/ProjectsManager.ts:58
↓ 1 callers
Function
addScannerDetails
(group: THREE.Group)
src/scene/stations/ScannerStation.ts:7
↓ 1 callers
Function
addTaskboardDetails
(group: THREE.Group)
src/scene/stations/TaskboardStation.ts:7
↓ 1 callers
Function
addTerminalDetails
(group: THREE.Group)
src/scene/stations/TerminalStation.ts:7
↓ 1 callers
Method
addTextTile
* Add a text tile to the scene
src/scene/WorkshopScene.ts:1489
↓ 1 callers
Method
addToolUse
* Add a tool use to station history
src/scene/StationPanels.ts:121
↓ 1 callers
Function
addWorkbenchDetails
(group: THREE.Group)
src/scene/stations/WorkbenchStation.ts:7
↓ 1 callers
Method
applyToSound
* Apply spatial parameters to the panner * Call this just before playing a sound
src/audio/SpatialAudioContext.ts:217
↓ 1 callers
Method
autocomplete
* Autocomplete a partial path * Returns matching directories from: * 1. Filesystem (if actively browsing - path ends with /) * 2. Known proje
server/ProjectsManager.ts:94
↓ 1 callers
Function
bounce
(t: number)
src/entities/animations/AnimationTypes.ts:115
↓ 1 callers
Method
calculate
* Calculate spatial parameters for a sound source * Returns default (centered, full volume) if spatial is disabled or position unknown
src/audio/SpatialAudioContext.ts:167
↓ 1 callers
Function
canLinkToManagedSession
* Check if a Claude session can be linked to a managed session * Returns true if already linked or if there's a recently-created unlinked managed ses
src/main.ts:1467
↓ 1 callers
Method
cartesianToAxial
* Convert world cartesian coordinates to fractional axial coordinates * Result needs rounding to get actual hex cell
src/utils/HexGrid.ts:72
↓ 1 callers
Function
checkForSession
()
src/main.ts:1257
↓ 1 callers
Function
checkForUpdates
()
src/ui/VersionChecker.ts:49
↓ 1 callers
Function
checkHooksConfigured
()
bin/cli.js:54
↓ 1 callers
Method
clear
* Remove all handlers
src/events/EventBus.ts:138
↓ 1 callers
Method
clearZone
* Clear all notifications for a zone
src/scene/ZoneNotifications.ts:191
↓ 1 callers
Method
createAmbientParticles
* Create ambient floating particles for atmosphere
src/scene/WorkshopScene.ts:2026
↓ 1 callers
Method
createAntenna
()
src/entities/ClaudeMon.ts:361
↓ 1 callers
Method
createBody
()
src/entities/ClaudeMon.ts:235
↓ 1 callers
Method
createBody
()
src/entities/Claude.ts:85
↓ 1 callers
Method
createDisposableFMSynth
* Create and auto-dispose an FM synth
src/audio/SoundManager.ts:524
↓ 1 callers
Method
createGitLabel
* Create git status label sprite (initially blank)
src/scene/WorkshopScene.ts:1738
↓ 1 callers
Method
createGlowAccents
()
src/entities/ClaudeMon.ts:401
↓ 1 callers
Method
createHead
()
src/entities/ClaudeMon.ts:115
↓ 1 callers
Method
createHead
()
src/entities/Claude.ts:99
↓ 1 callers
Method
createHexOutline
* Create a hexagon outline (reusable helper)
src/scene/WorkshopScene.ts:423
↓ 1 callers
Function
createManagedSession
( name?: string, cwd?: string, flags?: SessionFlags, hintPosition?: { x: number; z: number }, pendin
src/main.ts:374
↓ 1 callers
Method
createNotificationSprite
* Create a notification sprite (smaller, more compact than labels)
src/scene/WorkshopScene.ts:2991
↓ 1 callers
Method
createPanelSprite
* Create a panel sprite for a station
src/scene/StationPanels.ts:182
↓ 1 callers
Method
createPanelsForZone
* Create panels for a zone
src/scene/StationPanels.ts:69
↓ 1 callers
Method
createParticleSystem
* Create particle system for a zone
src/scene/WorkshopScene.ts:1964
↓ 1 callers
Method
createPendingZone
* Create a pending zone with loading animation * Shows while waiting for the real zone to be created
src/scene/WorkshopScene.ts:379
↓ 1 callers
Function
createSession
* Create a new managed session
server/index.ts:764
↓ 1 callers
Function
createSessionAPI
(apiUrl: string)
src/api/SessionAPI.ts:36
↓ 1 callers
Method
createSprite
(text: string, color: string)
src/scene/ZoneNotifications.ts:241
↓ 1 callers
Method
createStationInZone
* Create a single station within a zone group
src/scene/WorkshopScene.ts:2125
↓ 1 callers
Method
createStatusRing
()
src/entities/ClaudeMon.ts:425
↓ 1 callers
Method
createStatusRing
()
src/entities/Claude.ts:141
↓ 1 callers
Method
createTextSprite
* Create a text sprite for floating labels * Dynamically scales font size to fit long text
src/scene/WorkshopScene.ts:2585
↓ 1 callers
Function
createTextTileAtHex
* Create a text tile at a hex position (opens modal for text)
src/main.ts:811
↓ 1 callers
Method
createTextTileSprite
* Create a text tile sprite
src/scene/WorkshopScene.ts:1580
↓ 1 callers
Method
createThoughtBubbles
()
src/entities/ClaudeMon.ts:439
↓ 1 callers
Method
createThoughtBubbles
()
src/entities/Claude.ts:155
↓ 1 callers
Method
createWorldFloor
* Create an invisible floor plane for click detection only * (hex grid provides the visual floor)
src/scene/WorkshopScene.ts:2255
↓ 1 callers
Method
createZoneEdgeLines
* Create vertical edge lines for a zone (shown when elevated) * Creates 6 vertical lines at hex corners + 6 horizontal lines at top
src/scene/WorkshopScene.ts:1021
↓ 1 callers
Method
createZoneLabel
* Create floating label for a zone
src/scene/WorkshopScene.ts:1328
↓ 1 callers
Method
createZonePlatform
(group: THREE.Group, color: number)
src/scene/WorkshopScene.ts:1230
↓ 1 callers
Method
createZoneSideMesh
* Create solid side faces for an elevated zone
src/scene/WorkshopScene.ts:1065
↓ 1 callers
Method
createZoneStations
* Create all stations for a zone
src/scene/WorkshopScene.ts:2094
↓ 1 callers
Method
cubeToAxial
(cube: CubeCoord)
src/utils/HexGrid.ts:124
↓ 1 callers
Function
deleteSession
* Delete/kill a session
server/index.ts:884
↓ 1 callers
Function
deleteTextTile
* Delete a text tile
src/main.ts:860
↓ 1 callers
Method
deleteZone
* Delete a zone with exit animation
src/scene/WorkshopScene.ts:663
↓ 1 callers
Function
deleteZoneBySessionId
* Delete a zone (finds the managed session and deletes it)
src/main.ts:873
↓ 1 callers
Function
detectBypassWarning
* Detect the bypass permissions warning that appears on first use of --dangerously-skip-permissions. * Returns true if the warning is detected and ne
server/index.ts:598
↓ 1 callers
Function
detectPermissionPrompt
* Parse tmux output to detect Claude Code permission prompts. * * Claude Code prompts look like: * ● Bash(rm /tmp/test.txt) * ⎿ Running PreTo
server/index.ts:495
↓ 1 callers
Function
editTextTile
* Edit an existing text tile
src/main.ts:835
↓ 1 callers
Method
emit
* Emit an event to all subscribers
src/events/EventBus.ts:115
↓ 1 callers
Method
emitParticles
* Emit particles from a zone
src/scene/WorkshopScene.ts:1998
↓ 1 callers
Function
escapeHtml
* Escape HTML special characters
src/ui/Toast.ts:115
↓ 1 callers
Method
eventMatchesBinding
Check if event matches a specific binding
src/ui/KeybindConfig.ts:147
↓ 1 callers
Function
eventToKeybind
(event: KeyboardEvent)
src/ui/KeybindConfig.ts:274
↓ 1 callers
Function
fetchConfig
()
src/main.ts:1906
↓ 1 callers
Function
fetchServerInfo
* Fetch server info (cwd, etc.) and update UI
src/main.ts:418
↓ 1 callers
Function
fetchTerminalOutput
()
src/main.ts:2209
↓ 1 callers
Method
filesystemAutocomplete
* Filesystem-based autocomplete
server/ProjectsManager.ts:159
↓ 1 callers
Method
finalizeZoneDelete
* Actually remove a zone after animation completes
src/scene/WorkshopScene.ts:684
↓ 1 callers
Function
findClickedZone
()
src/main.ts:971
↓ 1 callers
Function
findManagedSession
* Find managed session by Claude Code session ID
server/index.ts:1245
↓ 1 callers
Method
findNearestFree
* Find the nearest free hex starting from a target position * Uses spiral search pattern expanding outward
src/utils/HexGrid.ts:253
↓ 1 callers
Method
findNextSlot
(zoneId: string)
src/scene/ZoneNotifications.ts:305
↓ 1 callers
Method
forcePlay
Force play a specific behavior by name (for dev/testing)
src/entities/animations/IdleBehaviors.ts:834
↓ 1 callers
Method
forcePlayRandom
Force play a random behavior (guaranteed to play, ignores "do nothing" weight)
src/entities/animations/IdleBehaviors.ts:852
↓ 1 callers
Function
formatCommandResult
(command: string, maxLength = 30)
src/scene/ZoneNotifications.ts:362
← previous
next →
201–300 of 643, ranked by callers