Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fibi66/FeiControl
/ functions
Functions
575 in github.com/Fibi66/FeiControl
⨍
Functions
575
◇
Types & classes
158
↓ 22 callers
Function
readString
(value: unknown)
src/app/api/cron/route.ts:23
↓ 9 callers
Function
isoToScreen
(isoX: number, isoY: number)
src/components/office/HabboFurniture.tsx:9
↓ 9 callers
Function
safeString
(val: unknown, fallback = '')
src/app/api/clawteam/route.ts:72
↓ 8 callers
Function
asRecord
(value: unknown)
src/app/api/cron/route.ts:17
↓ 8 callers
Function
readNumber
(value: unknown)
src/app/api/cron/route.ts:27
↓ 8 callers
Function
safeReadFile
(filePath: string)
src/app/api/social/route.ts:8
↓ 7 callers
Function
entryCost
(e: UsageEntry)
src/lib/usage-scanner.ts:152
↓ 7 callers
Function
logActivity
( type: string, description: string, status: string, opts?: { duration_ms?: number | null; tok
src/lib/activities-db.ts:111
↓ 6 callers
Function
getSortableNumber
(value?: number | null)
src/app/(dashboard)/cron/page.tsx:26
↓ 6 callers
Function
getUnexpectedExitCode
(code)
scripts/dev-server.cjs:51
↓ 6 callers
Function
useIsMobile
()
src/hooks/useIsMobile.ts:7
↓ 5 callers
Function
fetchNotifications
()
src/components/NotificationDropdown.tsx:57
↓ 5 callers
Function
fileExists
(filePath: string)
src/app/api/files/route.ts:21
↓ 5 callers
Function
getErrorMessage
(payload: unknown, fallback: string)
src/app/(dashboard)/calendar/page.tsx:85
↓ 5 callers
Function
getFieldValues
* Get field values for a cron part
src/lib/cron-parser.ts:130
↓ 5 callers
Function
getJobColor
(index: number)
src/components/CronWeeklyTimeline.tsx:39
↓ 5 callers
Function
loadNotifications
()
src/app/api/notifications/route.ts:24
↓ 5 callers
Function
saveNotifications
(notifications: Notification[])
src/app/api/notifications/route.ts:33
↓ 5 callers
Function
showNotification
(type: "success" | "error", message: string)
src/components/QuickActions.tsx:36
↓ 5 callers
Function
validateField
(field: string, min: number, max: number)
src/lib/cron-parser.ts:234
↓ 4 callers
Function
checkUrl
(url: string, timeoutMs = 5000)
src/app/api/health/route.ts:19
↓ 4 callers
Function
defaultState
(id: string)
src/components/Office3D/Office3D.tsx:142
↓ 4 callers
Function
getDb
()
src/lib/activities-db.ts:46
↓ 4 callers
Function
handleItemClick
(item: FileEntry)
src/components/FileBrowser.tsx:314
↓ 4 callers
Function
isShellSafe
(value: string)
src/app/api/clawteam/route.ts:144
↓ 4 callers
Function
isValidCron
(expr: string)
src/lib/cron-parser.ts:230
↓ 4 callers
Function
normalizeEventCompletionState
(payload: unknown)
src/app/(dashboard)/calendar/page.tsx:190
↓ 4 callers
Function
runCronCommand
(commandVariants: string[][])
src/app/api/cron/route.ts:44
↓ 3 callers
Function
createNotification
( requestUrl: string, title: string, message: string, type: "info" | "success" | "warning" | "error" =
src/app/api/cron/run/route.ts:4
↓ 3 callers
Function
findPricing
* Find pricing for a model ID (handles exact match + aliases)
src/lib/pricing.ts:76
↓ 3 callers
Function
formatBytes
(bytes: number)
src/components/SystemInfo.tsx:29
↓ 3 callers
Function
formatFullDate
(dateString: string)
src/components/CronJobCard.tsx:115
↓ 3 callers
Function
getAgentDisplayInfo
* Get agent display info (emoji, color, name) from openclaw.json or defaults
src/app/api/agents/route.ts:83
↓ 3 callers
Function
getChildren
(agentId: string)
src/components/AgentOrganigrama.tsx:54
↓ 3 callers
Function
getEnvVar
(envContent: string, key: string)
src/app/api/system/route.ts:14
↓ 3 callers
Function
getJobEmoji
(agentId: string)
src/components/CronWeeklyTimeline.tsx:73
↓ 3 callers
Function
getLocalOrigin
()
src/app/api/clawteam/route.ts:123
↓ 3 callers
Function
getLocalOriginLabel
()
src/app/api/clawteam/route.ts:127
↓ 3 callers
Function
getToneStyles
(tone: Tone)
src/components/CronJobCard.tsx:150
↓ 3 callers
Function
hasOfficeCanvas
()
src/app/(dashboard)/office/OfficeClient.tsx:12
↓ 3 callers
Function
isOfficeQaEnabled
(search: string)
src/components/Office3D/Office3D.tsx:69
↓ 3 callers
Function
isPositionFree
(pos: Vector3)
src/components/Office3D/MovingAvatar.tsx:77
↓ 3 callers
Function
loadEventCompletions
()
src/app/api/calendar/route.ts:41
↓ 3 callers
Function
parseCron
* Parse a cron expression into its parts
src/lib/cron-parser.ts:20
↓ 3 callers
Function
pollClawTeam
()
src/components/Office3D/Office3D.tsx:310
↓ 3 callers
Function
resolveAndValidatePath
(workspaceId: string, filePath: string)
src/lib/workspace-resolver.ts:47
↓ 3 callers
Function
resolveWorkspace
(workspaceId: string)
src/lib/workspace-resolver.ts:19
↓ 3 callers
Function
roundRect
( ctx: CanvasRenderingContext2D, x: number, y: number, width: number, height: number,
src/components/office/OfficeCanvas.tsx:413
↓ 3 callers
Function
safeRead
(filePath: string)
src/app/api/dashboard/route.ts:11
↓ 3 callers
Function
send
(data: unknown)
src/app/api/activities/stream/route.ts:16
↓ 3 callers
Function
setNoStoreHeaders
(response)
scripts/dev-server.cjs:149
↓ 3 callers
Function
stopPolling
()
src/components/WeeklyCalendar.tsx:49
↓ 2 callers
Function
areDebugPositionsEqual
(left: AvatarDebugPosition, right: AvatarDebugPosition)
src/components/Office3D/AgentAvatar.tsx:77
↓ 2 callers
Function
buildEventKey
(event: Omit<CalendarEvent, "key">)
src/app/api/calendar/route.ts:22
↓ 2 callers
Function
buildMarkdownFolderTree
( folderPath: string, relativePath: string, options: { recursive: boolean; reverseFiles?: boolean } )
src/app/api/files/route.ts:30
↓ 2 callers
Function
calculateCost
( modelId: string, inputTokens: number, outputTokens: number, cacheReadTokens: number = 0, cacheWrit
src/lib/pricing.ts:85
↓ 2 callers
Function
createProcessKeepAlive
()
scripts/dev-server.cjs:59
↓ 2 callers
Function
decodeHtmlEntities
(s: string)
src/app/api/calendar/route.ts:55
↓ 2 callers
Function
executeAction
(action: QuickAction)
src/app/(dashboard)/actions/page.tsx:88
↓ 2 callers
Function
extractCronJobs
(data: JsonRecord)
src/app/api/cron/route.ts:39
↓ 2 callers
Function
fetchSystemData
()
src/app/(dashboard)/settings/page.tsx:44
↓ 2 callers
Function
fetchTasks
()
src/components/WeeklyCalendar.tsx:28
↓ 2 callers
Function
fmtDate
(d: Date)
src/app/api/calendar/route.ts:120
↓ 2 callers
Function
formatDuration
(durationMs?: number | null)
src/components/CronJobCard.tsx:141
↓ 2 callers
Function
formatFileSize
(bytes: number)
src/components/FileBrowser.tsx:69
↓ 2 callers
Function
formatPrimaryDate
(dateString: string)
src/components/CronJobCard.tsx:105
↓ 2 callers
Function
getActivities
(opts: GetActivitiesOptions = {})
src/lib/activities-db.ts:190
↓ 2 callers
Function
getAgentDisplayName
()
src/config/branding.ts:36
↓ 2 callers
Function
getAgentEmoji
(agentId: string)
src/components/CronJobCard.tsx:97
↓ 2 callers
Function
getAgentInfo
(workspacePath: string)
src/app/api/files/workspaces/route.ts:16
↓ 2 callers
Function
getAgentSkillMappings
()
src/lib/agent-skills.ts:64
↓ 2 callers
Function
getClawTeamTeamsRoot
()
src/app/api/clawteam/route.ts:110
↓ 2 callers
Function
getColor
(count: number, max: number)
src/components/ActivityHeatmap.tsx:20
↓ 2 callers
Function
getDaySuffix
(day: number)
src/lib/cron-parser.ts:117
↓ 2 callers
Function
getFileColor
(name: string, type: string)
src/components/FileBrowser.tsx:57
↓ 2 callers
Function
getFileIcon
(name: string, type: string)
src/components/FileBrowser.tsx:47
↓ 2 callers
Function
getLatestTaskHint
* Extract latest task hint from the last user message in the session JSONL.
src/app/api/office/route.ts:118
↓ 2 callers
Function
getNextRuns
( expr: string, count: number = 3, fromDate: Date = new Date(), timezone: string = 'UTC' )
src/lib/cron-parser.ts:197
↓ 2 callers
Function
getOfficeCameraPresetFromWindow
()
src/components/Office3D/Office3D.tsx:73
↓ 2 callers
Function
getRecentMemory
(workspacePath: string)
src/app/api/social/route.ts:16
↓ 2 callers
Function
getRecentReports
(workspacePath: string)
src/app/api/social/route.ts:33
↓ 2 callers
Function
getStatusColor
()
src/components/Office3D/AgentDesk.tsx:37
↓ 2 callers
Function
getTeamDataFromFilesystem
* Build team data directly from filesystem config when board server is down. * Reads config.json + tasks/ to construct a ClawTeamData without the HTT
src/app/api/clawteam/route.ts:374
↓ 2 callers
Function
getWeekDays
(offset: number)
src/app/(dashboard)/calendar/page.tsx:41
↓ 2 callers
Function
handleDownload
(item: FileEntry)
src/components/FileBrowser.tsx:350
↓ 2 callers
Function
handleUpload
(files: FileList | null)
src/components/FileBrowser.tsx:329
↓ 2 callers
Function
imageUrl
(filePath: string)
src/components/RichDescription.tsx:11
↓ 2 callers
Function
isConfigured
()
src/app/api/tasks/route.ts:5
↓ 2 callers
Function
isEditable
(name: string)
src/components/FileBrowser.tsx:88
↓ 2 callers
Function
isPidAlive
(pid: number | undefined)
src/app/api/clawteam/route.ts:131
↓ 2 callers
Function
isSafeJobId
(str: string)
src/app/api/cron/route.ts:105
↓ 2 callers
Function
loadRepos
()
src/app/(dashboard)/git/page.tsx:44
↓ 2 callers
Function
markAsRead
(id: string)
src/components/NotificationDropdown.tsx:95
↓ 2 callers
Function
normalizeEventCompletions
(payload: unknown)
src/app/api/calendar/route.ts:26
↓ 2 callers
Function
normalizeModelId
(modelId: string)
src/lib/pricing.ts:122
↓ 2 callers
Function
normalizeTasksData
(payload: unknown)
src/app/(dashboard)/calendar/page.tsx:96
↓ 2 callers
Function
parseServiceList
(value?: string)
src/app/api/system/services/route.ts:12
↓ 2 callers
Function
parseSkill
(skillPath: string, skillName: string, agents: string[] = [])
src/lib/skill-parser.ts:142
↓ 2 callers
Function
publishDebugSnapshot
(target: Vector3)
src/components/Office3D/AgentAvatar.tsx:155
↓ 2 callers
Function
readTail
* Read the last N bytes of a file efficiently (avoids reading 30MB JSONL files).
src/app/api/office/route.ts:20
next →
1–100 of 575, ranked by callers