Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beita6969/ScienceClaw
/ functions
Functions
26,379 in github.com/beita6969/ScienceClaw
⨍
Functions
26,379
◇
Types & classes
983
↳
Endpoints
10
↓ 46 callers
Function
registerInternalHook
(eventKey: string, handler: InternalHookHandler)
src/hooks/internal-hooks.ts:214
↓ 46 callers
Method
remove
(id: string)
src/cron/service.ts:41
↓ 46 callers
Function
resolveAgentModelPrimaryValue
(model?: AgentModelConfig)
src/config/model-input.ts:8
↓ 46 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/cron/isolated-agent.subagent-model.test.ts:13
↓ 45 callers
Function
append
(chunk: Buffer | string, target: "stdout" | "stderr")
src/secrets/resolve.ts:495
↓ 45 callers
Function
createContext
(overrides?: Partial<TelegramMessageContext>)
src/telegram/bot-message-dispatch.test.ts:76
↓ 45 callers
Function
createDispatcher
()
src/auto-reply/reply/dispatch-from-config.test.ts:156
↓ 45 callers
Function
normalizeE164
(number: string)
src/utils.ts:87
↓ 45 callers
Function
parseModelRef
(raw: string, defaultProvider: string)
src/agents/model-selection.ts:158
↓ 45 callers
Function
runWithModelFallback
(params: { cfg: OpenClawConfig | undefined; provider: string; model: string; runId?: string; agentDi
src/agents/model-fallback.ts:502
↓ 45 callers
Method
start
()
src/cron/service.ts:13
↓ 44 callers
Function
buildAgentSystemPrompt
(params: { workspaceDir: string; defaultThinkLevel?: ThinkLevel; reasoningLevel?: ReasoningLevel; extr
src/agents/system-prompt.ts:189
↓ 44 callers
Function
castAgentMessages
(messages: unknown[])
src/agents/test-helpers/agent-message-fixtures.ts:9
↓ 44 callers
Function
handler
(data: WebSocket.RawData)
src/gateway/test-helpers.e2e.ts:119
↓ 44 callers
Function
isTrustedProxyAddress
(ip: string | undefined, trustedProxies?: string[])
src/gateway/net.ts:141
↓ 44 callers
Method
loadConfig
apps/android/app/src/main/java/ai/openclaw/app/tools/ToolDisplay.kt:111
↓ 44 callers
Method
select
(params: { message: string; options: Array<{ value: T; label: string; hint?: string }>; initialVal
src/wizard/session.ts:72
↓ 44 callers
Function
stopWithText
(text: string)
src/auto-reply/reply/commands-acp/shared.ts:83
↓ 43 callers
Method
close
Close the session
extensions/voice-call/src/providers/stt-openai-realtime.ts:44
↓ 43 callers
Function
formatRelativeTimestamp
( timestampMs: number | null | undefined, options?: FormatRelativeTimestampOptions, )
src/infra/format-time/format-relative.ts:69
↓ 43 callers
Function
migrateLegacyConfig
(raw: unknown)
src/config/legacy-migrate.ts:5
↓ 43 callers
Function
openWs
(port: number, headers?: Record<string, string>)
src/gateway/server.auth.shared.ts:54
↓ 43 callers
Function
resolveAuthProfileOrder
(params: { cfg?: OpenClawConfig; store: AuthProfileStore; provider: string; preferredProfile?: string;
src/agents/auth-profiles/order.ts:67
↓ 43 callers
Function
sendMessageTelegram
( to: string, text: string, opts: TelegramSendOpts = {}, )
src/telegram/send.ts:588
↓ 43 callers
Function
withGatewayServer
( fn: (ctx: { port: number; server: Awaited<ReturnType<typeof startGatewayServer>> }) => Promise<T>, opts?
src/gateway/test-helpers.server.ts:382
↓ 42 callers
Method
add
apps/android/app/src/main/java/ai/openclaw/app/node/CalendarHandler.kt:57
↓ 42 callers
Function
messageAction
(label: string, text?: string)
src/line/actions.ts:8
↓ 42 callers
Function
normalizeDiscordSlug
(value: string)
src/discord/monitor/allow-list.ts:97
↓ 42 callers
Function
normalizeShip
(raw: string)
extensions/tlon/src/targets.ts:8
↓ 42 callers
Function
setNoAbort
()
src/auto-reply/reply/dispatch-from-config.test.ts:167
↓ 42 callers
Function
stopWithText
(text: string)
src/auto-reply/reply/commands-subagents/shared.ts:193
↓ 41 callers
Function
asTrimmedString
(value: unknown)
extensions/acpx/src/runtime-internals/shared.ts:25
↓ 41 callers
Method
clear
Exposed for tests and account lifecycle cleanup.
extensions/synology-chat/src/security.ts:116
↓ 41 callers
Function
collectSecretInputAssignment
(params: { value: unknown; path: string; expected: SecretAssignment["expected"]; defaults: SecretDefau
src/secrets/runtime-shared.ts:83
↓ 41 callers
Function
createConfigIO
(overrides: ConfigIoDeps = {})
src/config/io.ts:699
↓ 41 callers
Function
deliverOutboundPayloads
( params: DeliverOutboundPayloadsParams, )
src/infra/outbound/deliver.ts:470
↓ 41 callers
Function
getPageForTargetId
(opts: { cdpUrl: string; targetId?: string; })
src/browser/pw-session.ts:510
↓ 41 callers
Function
normalizeChannelId
(raw?: string | null)
src/channels/registry.ts:158
↓ 40 callers
Function
asObjectRecord
(value: unknown)
src/commands/doctor-config-flow.ts:71
↓ 40 callers
Function
createExecTool
( defaults?: ExecToolDefaults, // oxlint-disable-next-line typescript/no-explicit-any )
src/agents/bash-tools.exec.ts:151
↓ 40 callers
Function
fg
(hex: string)
src/tui/theme/theme.ts:131
↓ 40 callers
Function
handleDiscordAction
( params: Record<string, unknown>, cfg: OpenClawConfig, options?: { mediaLocalRoots?: readonly strin
src/agents/tools/discord-actions.ts:58
↓ 40 callers
Method
load
apps/android/app/src/main/java/ai/openclaw/app/chat/ChatController.kt:75
↓ 40 callers
Function
loadWebMedia
( mediaUrl: string, maxBytesOrOptions?: number | WebMediaOptions, options?: { ssrfPolicy?: SsrFPolicy; l
src/web/media.ts:404
↓ 40 callers
Function
relayAuthHeaders
(url: string)
src/browser/extension-relay.test.ts:46
↓ 39 callers
Function
buildParams
(commandBody: string, cfg: OpenClawConfig, ctxOverrides?: Partial<MsgContext>)
src/auto-reply/reply/commands.test.ts:136
↓ 39 callers
Method
connect
Connect to the transcription service
extensions/voice-call/src/providers/stt-openai-realtime.ts:32
↓ 39 callers
Function
createHookRunner
(registry: PluginRegistry, options: HookRunnerOptions = {})
src/plugins/hooks.ts:126
↓ 39 callers
Function
handleTelegramAction
( params: Record<string, unknown>, cfg: OpenClawConfig, options?: { mediaLocalRoots?: readonly strin
src/agents/tools/telegram-actions.ts:92
↓ 39 callers
Function
parentOpts
(cmd: Command)
src/cli/browser-cli.ts:46
↓ 39 callers
Function
resolvePreferredOpenClawTmpDir
( options: ResolvePreferredOpenClawTmpDirOptions = {}, )
src/infra/tmp-openclaw-dir.ts:34
↓ 39 callers
Function
runSecurityAudit
(opts: SecurityAuditOptions)
src/security/audit.ts:1131
↓ 39 callers
Function
safeTrim
(value: unknown)
src/auto-reply/reply/inbound-meta.ts:6
↓ 39 callers
Function
spawn
(cmd: string, args: string[])
src/infra/run-node.test.ts:28
↓ 39 callers
Function
triggerInternalHook
(event: InternalHookEvent)
src/hooks/internal-hooks.ts:270
↓ 39 callers
Function
validatePrivateKey
(key: string)
extensions/nostr/src/nostr-bus.ts:281
↓ 38 callers
Function
defineChatCommand
(command: DefineChatCommandInput)
src/auto-reply/commands-registry.data.ts:26
↓ 38 callers
Function
dispatchMessage
(params: { cfg: ClawdbotConfig; event: FeishuMessageEvent })
extensions/feishu/src/bot.test.ts:72
↓ 38 callers
Function
enqueueFollowupRun
( key: string, run: FollowupRun, settings: QueueSettings, dedupeMode: QueueDedupeMode = "message-id",
src/auto-reply/reply/queue/enqueue.ts:51
↓ 38 callers
Function
makeSnapshot
( config: TConfig, raw?: string, )
src/config/redact-snapshot.test.ts:22
↓ 38 callers
Function
resolveImplicitProvidersForTest
( params: Parameters<typeof resolveImplicitProviders>[0], )
src/agents/models-config.e2e-harness.ts:144
↓ 38 callers
Function
resolveOpenClawAgentDir
()
src/agents/agent-paths.ts:6
↓ 38 callers
Function
run
(cmd: string, args: string[], opts?: RunOpts)
src/cli/dns-cli.ts:15
↓ 38 callers
Function
withTempHome
(fn: (home: string) => Promise<T>)
src/config/test-helpers.ts:5
↓ 37 callers
Function
formatForLog
(value: unknown)
src/gateway/ws-log.ts:102
↓ 37 callers
Method
isEnabled
()
src/discord/voice/manager.ts:307
↓ 37 callers
Function
resolveAgentConfig
( cfg: OpenClawConfig, agentId: string, )
src/agents/agent-scope.ts:118
↓ 37 callers
Method
runTurn
(input: AcpRuntimeTurnInput)
src/acp/runtime/types.ts:121
↓ 37 callers
Function
warn
(text: string)
src/cli/memory-cli.ts:434
↓ 37 callers
Function
writePlugin
(params: { id: string; body: string; dir?: string; filename?: string; })
src/plugins/loader.test.ts:75
↓ 36 callers
Function
configPath
(...parts: string[])
src/config/includes.test.ts:21
↓ 36 callers
Function
connectOk
(ws: WebSocket, opts?: Parameters<typeof connectReq>[1])
src/gateway/test-helpers.server.ts:661
↓ 36 callers
Function
fetchWithSsrFGuard
(params: GuardedFetchOptions)
src/infra/net/fetch-guard.ts:143
↓ 36 callers
Function
loadOpenClawPlugins
(options: PluginLoadOptions = {})
src/plugins/loader.ts:447
↓ 36 callers
Method
rename
(params: { from: string; to: string; cwd?: string; signal?: AbortSignal; })
src/agents/sandbox/fs-bridge.ts:180
↓ 36 callers
Function
renderTable
(opts: RenderTableOptions)
src/terminal/table.ts:234
↓ 36 callers
Function
resolveFeishuAccount
(params: { cfg: ClawdbotConfig; accountId?: string | null; })
extensions/feishu/src/accounts.ts:187
↓ 36 callers
Function
upsertAuthProfile
(params: { profileId: string; credential: AuthProfileCredential; agentDir?: string; })
src/agents/auth-profiles/profiles.ts:45
↓ 35 callers
Function
createOpenClawTools
( options?: { sandboxBrowserBridgeUrl?: string; allowHostBrowserControl?: boolean; agentSessionK
src/agents/openclaw-tools.ts:29
↓ 35 callers
Function
createRun
(params: { prompt: string; messageId?: string; originatingChannel?: FollowupRun["originatingChannel"];
src/auto-reply/reply/reply-flow.test.ts:602
↓ 35 callers
Function
hasControlCommand
( text?: string, cfg?: OpenClawConfig, options?: CommandNormalizeOptions, )
src/auto-reply/command-detection.ts:10
↓ 35 callers
Function
hasOwnProperty
(record: Record<string, unknown>, key: string)
src/secrets/runtime-shared.ts:135
↓ 35 callers
Function
isDmAllowed
(senderShip: string, allowlist: string[] | undefined)
extensions/tlon/src/monitor/utils.ts:137
↓ 35 callers
Function
logWarn
(message: string, runtime: RuntimeEnv = defaultRuntime)
src/logger.ts:48
↓ 35 callers
Function
requestHeartbeatNow
(opts?: { reason?: string; coalesceMs?: number; agentId?: string; sessionKey?: string; })
src/infra/heartbeat-wake.ts:238
↓ 35 callers
Function
resolve
(id: string)
src/agents/tool-call-id.ts:227
↓ 35 callers
Function
resolveModel
( provider: string, modelId: string, agentDir?: string, cfg?: OpenClawConfig, )
src/agents/pi-embedded-runner/model.ts:251
↓ 35 callers
Function
resolveSessionFilePath
( sessionId: string, entry?: { sessionFile?: string }, opts?: SessionFilePathOptions, )
src/config/sessions/paths.ts:262
↓ 35 callers
Function
runCronIsolatedAgentTurn
(params: { cfg: OpenClawConfig; deps: CliDeps; job: CronJob; message: string; abortSignal?: AbortSig
src/cron/isolated-agent/run.ts:201
↓ 34 callers
Function
createMinimalRun
(params?: { opts?: GetReplyOptions; resolvedVerboseLevel?: "off" | "on"; sessionStore?: Record<string, S
src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts:102
↓ 34 callers
Function
guardCancel
(value: T | symbol)
src/commands/models/auth.ts:43
↓ 34 callers
Function
hasFinding
(res: SecurityAuditReport, checkId: string, severity?: string)
src/security/audit.test.ts:139
↓ 34 callers
Function
logInfo
(message: string)
scripts/label-open-issues.ts:250
↓ 34 callers
Function
logVerbose
( core: BlueBubblesCoreRuntime, runtime: BlueBubblesRuntimeEnv, message: string, )
extensions/bluebubbles/src/monitor-processing.ts:185
↓ 34 callers
Function
normalizeSecretInput
(value: unknown)
src/utils/normalize-secret-input.ts:16
↓ 34 callers
Function
onceMessage
( ws: WebSocket, filter: (obj: T) => boolean, // Full-suite runs can saturate the event loop (581+ files
src/gateway/test-helpers.server.ts:284
↓ 34 callers
Method
recordFailure
Record a failed authentication attempt for `ip`.
src/gateway/auth-rate-limit.ts:63
↓ 34 callers
Method
request
(method: string, params?: unknown)
ui/src/ui/gateway.ts:446
↓ 34 callers
Function
resolveGatewayPort
( cfg?: OpenClawConfig, env: NodeJS.ProcessEnv = process.env, )
src/config/paths.ts:266
↓ 34 callers
Method
run
(interaction: CommandInteraction)
src/discord/monitor/native-command.ts:1240
← previous
next →
201–300 of 26,379, ranked by callers