Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/netease-youdao/LobsterAI
/ functions
Functions
6,267 in github.com/netease-youdao/LobsterAI
⨍
Functions
6,267
◇
Types & classes
1,085
↓ 2,061 callers
Method
t
(key: string)
src/renderer/services/i18n.ts:5548
↓ 476 callers
Method
get
(key: string)
src/renderer/theme/engine/theme-manager.ts:7
↓ 440 callers
Method
set
(key: string, value: string)
src/renderer/theme/engine/theme-manager.ts:8
↓ 431 callers
Method
get
(name: string)
src/main/libs/mediaAssetPersistence.ts:77
↓ 330 callers
Method
prepare
(sql: string)
src/main/im/imStore.test.ts:24
↓ 307 callers
Method
on
( event: U, listener: CoworkRuntimeEvents[U], )
src/main/libs/agentEngine/types.ts:135
↓ 269 callers
Function
t
(key: string)
src/renderer/components/artifacts/ArtifactPanel.tsx:68
↓ 229 callers
Method
run
(sql, params = [])
tests/imStore.test.mjs:13
↓ 210 callers
Method
delete
(key: string)
src/main/sqliteStore.ts:622
↓ 180 callers
Function
t
(key: string, params?: Record<string, string | number>)
src/main/i18n.ts:631
↓ 125 callers
Method
exec
(sql, params = [])
tests/imStore.test.mjs:34
↓ 124 callers
Method
emit
( event: U, ...args: Parameters<OpenClawEngineManagerEvents[U]> )
src/main/libs/openclawEngineManager.ts:268
↓ 121 callers
Function
setError
(state, action: PayloadAction<string | null>)
src/renderer/store/slices/scheduledTaskSlice.ts:69
↓ 99 callers
Function
writeFile
(filePath: string, content: string)
src/main/libs/dataMigration/dataMigrationService.test.ts:27
↓ 93 callers
Function
createReconcileStore
( messages: Array<Record<string, unknown>>, options: { agentModel?: string; sessionId?: string } = {}, )
src/main/libs/agentEngine/openclawRuntimeAdapter.test.ts:1948
↓ 91 callers
Method
close
()
src/main/sqliteStore.ts:640
↓ 88 callers
Function
toString
(value: unknown)
src/main/libs/coworkOpenAICompatProxy.ts:235
↓ 74 callers
Function
getIMGatewayManager
()
src/main/main.ts:2649
↓ 74 callers
Function
isRecord
(value: unknown)
src/main/libs/agentEngine/openclawRuntimeAdapter.ts:929
↓ 71 callers
Method
isDestroyed
()
src/main/libs/authCallbackRouter.ts:4
↓ 67 callers
Function
classifyError
(error: string)
src/common/coworkErrorClassify.test.ts:5
↓ 66 callers
Method
getState
()
src/main/libs/appUpdateCoordinator.ts:82
↓ 65 callers
Function
setLoading
(state, action: PayloadAction<boolean>)
src/renderer/store/slices/agentSlice.ts:42
↓ 64 callers
Function
getStore
()
src/main/main.ts:1552
↓ 63 callers
Function
scanPromptInjection
(content: string, filePath: string)
src/main/libs/skillSecurity/skillSecurityPromptAudit.ts:86
↓ 62 callers
Function
printInfo
(message, noNewline = false)
SKILLs/seedream/scripts/generate_image.js:29
↓ 58 callers
Function
coworkLog
(level: 'INFO' | 'WARN' | 'ERROR', tag: string, message: string, extra?: Record<string, unknown>)
src/main/libs/coworkLogger.ts:57
↓ 56 callers
Function
getCoworkStore
()
src/main/main.ts:1741
↓ 56 callers
Method
send
(channel: string, payload: { code: string })
src/main/libs/authCallbackRouter.ts:5
↓ 55 callers
Function
createActiveTurn
(sessionId: string, sessionKey: string, runId: string)
src/main/libs/agentEngine/openclawRuntimeAdapter.test.ts:2039
↓ 54 callers
Function
log
(msg)
scripts/ensure-openclaw-plugins.cjs:41
↓ 54 callers
Function
reportYdAnalyzer
(params: LogEventParams)
src/renderer/services/logReporter.ts:235
↓ 54 callers
Method
update
(event: AsrRealtimeEvent)
src/renderer/services/voiceInput/realtimeAsrClient.ts:87
↓ 50 callers
Method
getSession
(id: string)
src/main/im/imCoworkHandler.test.ts:61
↓ 49 callers
Method
getIMStore
()
src/main/im/imGatewayManager.ts:394
↓ 49 callers
Function
reportSkillAction
( actionType: string, params: AnalyticsParams = {}, )
src/renderer/components/skills/analytics.ts:63
↓ 48 callers
Function
classifyError
(error)
tests/coworkErrorClassify.test.mjs:8
↓ 47 callers
Function
addMemoryEntry
(filePath: string, text: string)
src/main/libs/openclawMemoryFile.ts:292
↓ 47 callers
Method
handleChatEvent
(payload: unknown, seq?: number)
src/main/libs/agentEngine/openclawRuntimeAdapter.ts:6839
↓ 46 callers
Function
printInfo
(message, noNewline = false)
SKILLs/seedance/scripts/generate_video.js:32
↓ 46 callers
Function
toOptionalObject
(value: unknown)
src/main/libs/coworkOpenAICompatProxy.ts:228
↓ 46 callers
Function
withAlpha
(variable)
src/renderer/theme/tailwind/plugin.cjs:17
↓ 45 callers
Function
reportScheduledTaskAction
( actionType: string, params: AnalyticsParams = {}, )
src/renderer/components/scheduledTasks/analytics.ts:31
↓ 43 callers
Method
text
()
src/renderer/services/voiceInput/realtimeAsrClient.ts:105
↓ 41 callers
Function
makeReport
* Build a minimal SkillSecurityReport with sensible defaults. * The caller supplies only the fields relevant to each test.
tests/skillSecurityScannerMerge.test.mjs:32
↓ 40 callers
Method
addMessage
(sessionId: string, message: Record<string, unknown>)
src/main/im/imCoworkHandler.test.ts:71
↓ 40 callers
Function
getOpenClawEngineManager
()
src/main/main.ts:1559
↓ 40 callers
Function
makeModel
(overrides: TaskOverrides = {})
src/scheduledTask/fixtures.ts:63
↓ 40 callers
Function
parseMemoryMd
(content: string)
src/main/libs/openclawMemoryFile.ts:101
↓ 40 callers
Method
sync
(reason: string)
src/main/libs/openclawConfigSync.ts:1478
↓ 39 callers
Function
isoTimestamp
ISO timestamp for a date offset by `deltaMs` from now.
tests/imPairingStore.test.mjs:83
↓ 39 callers
Function
log
(level: string, msg: string)
src/main/libs/mcpBridgeServer.ts:13
↓ 39 callers
Function
parseUserMessageForDisplay
( content: string, options: ParseUserMessageForDisplayOptions = {}, )
src/renderer/utils/userMessageDisplay.ts:67
↓ 36 callers
Function
getRuleIds
(relativePath: string)
src/main/libs/skillSecurity/skillSecurityRules.test.ts:4
↓ 36 callers
Function
getRuleIds
(relativePath)
tests/skillSecurityRules.test.mjs:27
↓ 36 callers
Method
handleAgentEvent
(payload: unknown, seq?: number)
src/main/libs/agentEngine/openclawRuntimeAdapter.ts:5728
↓ 36 callers
Method
updateSession
(id: string, updates: Record<string, unknown>)
src/main/im/imCoworkHandler.test.ts:65
↓ 35 callers
Function
getServerApiBaseUrl
()
src/main/libs/endpoints.ts:29
↓ 34 callers
Function
isTruthy
(value?: unknown)
src/main/skills/skillManager.ts:376
↓ 33 callers
Function
resolveLocalizedText
(text: string | LocalizedText)
src/renderer/services/skill.ts:5
↓ 32 callers
Function
insertSession
Insert a session row directly.
src/main/coworkStore.test.ts:152
↓ 32 callers
Function
parseFrontmatter
(raw: string)
src/main/skills/skillManager.ts:355
↓ 32 callers
Function
reportMcpAction
( actionType: string, params: AnalyticsParams = {}, )
src/renderer/components/mcp/analytics.ts:90
↓ 31 callers
Function
syncOpenClawConfig
( options: SyncOpenClawConfigOptions = { reason: 'unknown' }, )
src/main/main.ts:2222
↓ 30 callers
Function
makeMessage
(id: string, content = 'hello')
src/main/coworkSlicePagination.test.ts:52
↓ 30 callers
Function
reportArtifactPreviewAction
(options: ReportArtifactPreviewActionOptions)
src/renderer/components/artifacts/artifactAnalytics.ts:74
↓ 30 callers
Method
setConfigValue
(key: string, value: T)
src/main/im/imStore.ts:810
↓ 29 callers
Method
destroy
* Cleanup when handler is destroyed
src/main/im/imCoworkHandler.ts:1163
↓ 29 callers
Function
insertMessage
Insert a message row directly, bypassing CoworkStore.addMessage.
src/main/coworkStore.test.ts:168
↓ 29 callers
Function
makeArtifact
( id: string, type: Artifact['type'], overrides: Partial<Artifact> = {}, )
src/renderer/components/artifacts/autoPreviewPolicy.test.ts:13
↓ 29 callers
Function
pxToInch
(px)
SKILLs/pptx/scripts/html2pptx.js:261
↓ 29 callers
Function
setCurrentSession
(state, action: PayloadAction<CoworkSession | null>)
src/renderer/store/slices/coworkSlice.ts:412
↓ 28 callers
Method
getConfig
* Get current config from store
src/renderer/services/im.ts:356
↓ 28 callers
Method
getLanguage
()
src/renderer/services/i18n.ts:5543
↓ 28 callers
Function
sanitizeHtmlShareString
( value: unknown, fieldName: string, maxLength = IPC_STRING_MAX_CHARS, )
src/main/main.ts:466
↓ 27 callers
Function
fetchWithAuth
(url: string, options?: RequestInit)
src/main/main.ts:3907
↓ 26 callers
Method
getSession
(id: string, messageLimit = COWORK_MESSAGE_PAGE_SIZE)
src/main/coworkStore.ts:826
↓ 26 callers
Method
rememberSessionKey
(sessionId: string, sessionKey: string)
src/main/libs/agentEngine/openclawRuntimeAdapter.ts:5997
↓ 25 callers
Method
create
(userDataPath?: string)
src/main/sqliteStore.ts:35
↓ 25 callers
Function
findByRuleId
(findings: Array<Record<string, unknown>>, ruleId: string)
src/main/libs/skillSecurity/skillSecurityPromptAudit.test.ts:6
↓ 25 callers
Function
findByRuleId
(findings, ruleId)
tests/skillSecurityPromptAudit.test.mjs:28
↓ 25 callers
Method
getConfigValue
(key: string)
src/main/im/imStore.ts:796
↓ 25 callers
Function
isManagedSessionKey
(sessionKey: string | undefined | null)
src/main/libs/openclawChannelSessionSync.ts:60
↓ 25 callers
Function
message
( type: CoworkMessage['type'], content: string, metadata?: CoworkMessage['metadata'], )
src/main/libs/agentEngine/coworkContinuityCapsule.test.ts:11
↓ 25 callers
Method
reconcileWithHistory
* Reconcile local session messages with the authoritative gateway chat.history. * * This is the single source-of-truth sync method: after a turn
src/main/libs/agentEngine/openclawRuntimeAdapter.ts:8541
↓ 25 callers
Function
updateForm
(patch: Partial<FormState>)
src/renderer/components/scheduledTasks/TaskForm.tsx:429
↓ 25 callers
Function
writeFile
(filePath: string, content: string | Buffer)
src/main/libs/htmlShare/htmlSharePackager.test.ts:18
↓ 25 callers
Function
writeJSON
( res: http.ServerResponse, statusCode: number, body: Record<string, unknown> )
src/main/libs/coworkOpenAICompatProxy.ts:1078
↓ 24 callers
Function
cleanupDir
(dir)
tests/imPairingStore.test.mjs:40
↓ 24 callers
Function
createAnthropicErrorBody
(message: string, type = 'api_error')
src/main/libs/coworkOpenAICompatProxy.ts:390
↓ 24 callers
Function
execFileAsync
(cmd: string, args: string[], timeout: number)
src/main/shellApps.ts:757
↓ 24 callers
Function
extractGatewayHistoryEntry
(message: unknown)
src/main/libs/openclawHistory.ts:286
↓ 24 callers
Function
makeTmpDir
()
tests/imPairingStore.test.mjs:36
↓ 24 callers
Function
parseScheduledReminderPrompt
(text: string)
src/scheduledTask/reminderText.ts:13
↓ 23 callers
Function
getSkillManager
()
src/main/main.ts:2628
↓ 23 callers
Function
mergeReports
(reports: SkillSecurityReport[])
src/main/libs/skillSecurity/skillSecurityScanner.ts:415
↓ 23 callers
Method
updateConfig
* Persist configuration and optionally trigger gateway sync/restart. * Settings edits and settings auth flows default to save-only; non-settings
src/renderer/services/im.ts:211
↓ 23 callers
Method
updateMessage
( sessionId: string, messageId: string, updates: { content?: string; metadata?: CoworkMessageMetad
src/main/coworkStore.ts:1933
↓ 22 callers
Function
buildProviderSelection
(options: { apiKey: string; baseURL: string; modelId: string; apiType: 'anthropic' | 'openai' | undefi
src/main/libs/openclawConfigSync.ts:896
↓ 22 callers
Method
disconnect
* Disconnect from browser
SKILLs/web-search/server/playwright/manager.ts:197
next →
1–100 of 6,267, ranked by callers