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
↓ 11 callers
Function
runDiscordAcpCommand
(commandBody: string, cfg: OpenClawConfig = baseCfg)
src/auto-reply/reply/commands-acp.test.ts:337
↓ 11 callers
Function
runMessagingCase
(params: { agentResult: Record<string, unknown>; queued?: FollowupRun; runnerOverrides?: Partial<{
src/auto-reply/reply/followup-runner.test.ts:252
↓ 11 callers
Function
runPromptCustomApi
( prompter: ReturnType<typeof createTestPrompter>, config: object = {}, )
src/commands/onboard-custom.test.ts:58
↓ 11 callers
Function
runTelegramAnnounceTurn
(params: { home: string; storePath: string; deps: CliDeps; delivery: { mode: "announce"; chann
src/cron/isolated-agent.delivery.test-helpers.ts:47
↓ 11 callers
Function
runWithReconnect
( connectFn: () => Promise<void>, opts: RunWithReconnectOpts = {}, )
extensions/mattermost/src/mattermost/reconnect.ts:29
↓ 11 callers
Function
runner
(argv: string[])
src/infra/update-runner.test.ts:15
↓ 11 callers
Function
sanitizeFileNameForUpload
(fileName: string)
extensions/feishu/src/media.ts:228
↓ 11 callers
Function
sanitizeOpenAIHistory
( messages: AgentMessage[], overrides: Partial<Parameters<SanitizeSessionHistoryFn>[0]> = {}, )
src/agents/pi-embedded-runner.sanitize-session-history.test.ts:147
↓ 11 callers
Function
sanitizeTextContent
(text: string)
src/agents/tools/sessions-helpers.ts:142
↓ 11 callers
Function
sendBlueBubblesMedia
(params: { cfg: OpenClawConfig; to: string; mediaUrl?: string; mediaPath?: string; mediaBuffer?: Uin
extensions/bluebubbles/src/media-send.ts:196
↓ 11 callers
Function
sendGoogleChatMessage
(params: { account: ResolvedGoogleChatAccount; space: string; text?: string; thread?: string; attach
extensions/googlechat/src/api.ts:135
↓ 11 callers
Function
sendOwnerNotification
(message: string)
extensions/tlon/src/monitor/index.ts:569
↓ 11 callers
Function
sendWithDefaults
( to: string, text: string, opts: Parameters<typeof sendMessageIMessage>[2] = {}, )
src/imessage/send.test.ts:23
↓ 11 callers
Function
setCommandLaneConcurrency
(lane: string, maxConcurrent: number)
src/process/command-queue.ts:154
↓ 11 callers
Function
setRuntime
( channelId: ChannelId, accountId: string, patch: ChannelAccountSnapshot, )
src/gateway/server-channels.ts:137
↓ 11 callers
Method
setText
(text: string)
src/tui/components/hyperlink-markdown.ts:29
↓ 11 callers
Method
simulateMessage
(event: unknown)
src/agents/openai-ws-connection.test.ts:112
↓ 11 callers
Method
start
()
src/gateway/client.ts:134
↓ 11 callers
Method
stop
()
src/acp/server.startup.test.ts:37
↓ 11 callers
Function
stopCronAndCleanup
(cron: CronService, store: { cleanup: () => Promise<void> })
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:388
↓ 11 callers
Function
stripAnsi
(str: string)
src/tui/theme/theme.test.ts:13
↓ 11 callers
Function
stripXaiUnsupportedKeywords
(schema: unknown)
src/agents/schema/clean-for-xai.ts:13
↓ 11 callers
Function
sweepCronRunSessions
(params: { cronConfig?: CronConfig; /** Resolved path to sessions.json — required. */ sessionStorePath:
src/cron/session-reaper.ts:57
↓ 11 callers
Function
tabFromPath
(pathname: string, basePath = "")
ui/src/ui/navigation.ts:84
↓ 11 callers
Function
toAIFriendlyError
(error: unknown, selector: string)
src/browser/pw-tools-core.shared.ts:36
↓ 11 callers
Function
toStringValue
(value: unknown)
extensions/zalouser/src/zalo-js.ts:152
↓ 11 callers
Function
validateConfigObjectWithPlugins
(raw: unknown)
src/config/validation.ts:300
↓ 11 callers
Function
value
(val: string)
src/commands/sandbox-explain.ts:272
↓ 11 callers
Function
withArchiveCase
( ext: "zip" | "tar", run: (params: { workDir: string; archivePath: string; extractDir: string }) => Promi
src/infra/archive.test.ts:21
↓ 11 callers
Function
withTempDir
(prefix: string, fn: (dir: string) => Promise<T>)
src/agents/pi-tools.workspace-paths.test.ts:15
↓ 11 callers
Function
withTempDir
( prefix: string, run: (stateDir: string) => Promise<T>, )
src/agents/sandbox/fs-bridge.test-helpers.ts:82
↓ 11 callers
Function
wrapFetchWithAbortSignal
(fetchImpl: typeof fetch)
src/infra/fetch.ts:36
↓ 11 callers
Function
writeFileWithinRoot
(params: { rootDir: string; relativePath: string; data: string | Buffer; encoding?: BufferEncoding;
src/infra/fs-safe.ts:547
↓ 11 callers
Function
writeSecureFile
(filePath: string, content: string, mode = 0o600)
src/secrets/resolve.test.ts:13
↓ 10 callers
Function
InlineDivider
apps/android/app/src/main/java/ai/openclaw/app/ui/OnboardingFlow.kt:1303
↓ 10 callers
Function
_get_nested
Safely traverse nested dicts, returning None if any key is missing.
skills/profile-report/profile_report.py:538
↓ 10 callers
Function
abs
(p: string)
src/cli/browser-cli-extension.test.ts:20
↓ 10 callers
Function
absInMock
(p: string)
src/cron/service.runs-one-shot-main-job-disables-it.test.ts:70
↓ 10 callers
Function
addBeforeAgentStartHook
( registry: PluginRegistry, pluginId: string, handler: () => PluginHookBeforeAgentStartResult | Promise<
src/plugins/hooks.before-agent-start.test.ts:14
↓ 10 callers
Function
addCandidate
(candidates: Set<string>, value: string | null)
src/infra/control-ui-assets.ts:164
↓ 10 callers
Function
addField
(name: string, value: string)
extensions/bluebubbles/src/attachments.ts:207
↓ 10 callers
Function
addOsc8Hyperlinks
(lines: string[], urls: string[])
src/tui/osc8-hyperlinks.ts:218
↓ 10 callers
Function
appendCronRunLog
( filePath: string, entry: CronRunLogEntry, opts?: { maxBytes?: number; keepLines?: number }, )
src/cron/run-log.ts:138
↓ 10 callers
Function
applyConfig
(state: ConfigState)
ui/src/ui/controllers/config.ts:153
↓ 10 callers
Function
asConfig
(value: unknown)
src/secrets/runtime-web-tools.test.ts:9
↓ 10 callers
Function
asConfig
(cfg: OpenClawConfig)
src/agents/memory-search.test.ts:5
↓ 10 callers
Function
asConfig
(value: unknown)
extensions/zalouser/src/accounts.test.ts:22
↓ 10 callers
Function
assertFeishuMessageApiSuccess
( response: FeishuMessageApiResponse, errorPrefix: string, )
extensions/feishu/src/send-result.ts:9
↓ 10 callers
Function
assertNoReasoningTags
(params: { text: string; model: string; phase: string; label: string; })
src/gateway/gateway-models.profiles.live.test.ts:190
↓ 10 callers
Function
assertPrivateApiEnabled
()
extensions/bluebubbles/src/actions.ts:109
↓ 10 callers
Function
assertSandboxPath
(params: { filePath: string; cwd: string; root: string; allowFinalSymlinkForUnlink?: boolean; allowF
src/agents/sandbox-paths.ts:60
↓ 10 callers
Function
auditGatewayServiceConfig
(params: { env: Record<string, string | undefined>; command: GatewayServiceCommand; platform?: NodeJS.Pl
src/daemon/service-audit.ts:402
↓ 10 callers
Function
authorizeTrustedProxy
(options?: { auth?: GatewayConnectInput["auth"]; trustedProxies?: string[]; remoteAddress?: string
src/gateway/auth.test.ts:474
↓ 10 callers
Function
backupVerifyCommand
( runtime: RuntimeEnv, opts: BackupVerifyOptions, )
src/commands/backup-verify.ts:279
↓ 10 callers
Function
buildBatchHeaders
( client: Pick<BatchHttpClientConfig, "headers">, params: { json: boolean }, )
src/memory/batch-utils.ts:13
↓ 10 callers
Function
buildBootstrapPromptWarning
(params: { analysis: BootstrapBudgetAnalysis; mode: BootstrapPromptWarningMode; previousSignature?: stri
src/agents/bootstrap-budget.ts:301
↓ 10 callers
Function
buildInlineProviderModels
( providers: Record<string, InlineProviderConfig>, )
src/agents/pi-embedded-runner/model.ts:117
↓ 10 callers
Function
buildMentionRegexes
(cfg: OpenClawConfig | undefined, agentId?: string)
src/auto-reply/reply/mentions.ts:57
↓ 10 callers
Function
buildNodeServiceEnvironment
(params: { env: Record<string, string | undefined>; platform?: NodeJS.Platform; })
src/daemon/service-env.ts:271
↓ 10 callers
Function
buildOutboundSessionContext
(params: { cfg: OpenClawConfig; sessionKey?: string | null; agentId?: string | null; })
src/infra/outbound/session-context.ts:19
↓ 10 callers
Function
buildPendingHistoryContextFromMap
(params: { historyMap: Map<string, HistoryEntry[]>; historyKey: string; limit: number; currentMessage:
src/auto-reply/reply/history.ts:106
↓ 10 callers
Function
buildProviderRegistry
( overrides?: Record<string, MediaUnderstandingProvider>, )
src/media-understanding/runner.ts:76
↓ 10 callers
Function
buildSlackThreadingToolContext
(params: { cfg: OpenClawConfig; accountId?: string | null; context: ChannelThreadingContext; hasReplie
src/slack/threading-tool-context.ts:8
↓ 10 callers
Function
callBrowserRequest
( opts: BrowserParentOpts, params: BrowserRequestParams, extra?: { timeoutMs?: number; progress?: boolea
src/cli/browser-cli-shared.ts:30
↓ 10 callers
Function
canonicalizePathForSecurity
(pathname: string)
src/gateway/security-path.ts:106
↓ 10 callers
Function
checkAcpxVersion
(params: { command: string; cwd?: string; expectedVersion?: string; stripProviderAuthEnvVars?: boolean
extensions/acpx/src/ensure.ts:101
↓ 10 callers
Function
checkTokenDrift
(params: { serviceToken: string | undefined; configToken: string | undefined; })
src/daemon/service-audit.ts:377
↓ 10 callers
Function
chunkText
(text: string, limit: number)
src/auto-reply/chunk.ts:302
↓ 10 callers
Function
classifyMSTeamsSendError
(err: unknown)
extensions/msteams/src/errors.ts:142
↓ 10 callers
Function
classifySignalCliLogLine
(line: string)
src/signal/daemon.ts:33
↓ 10 callers
Function
clean
(value: unknown, path: string)
extensions/matrix/src/matrix/client/config.ts:13
↓ 10 callers
Function
clearSessionStoreCacheForTest
()
src/config/sessions/store.ts:168
↓ 10 callers
Function
compileSafeRegex
(source: string, flags = "")
src/security/safe-regex.ts:305
↓ 10 callers
Method
continueCall
* Continue call: speak prompt, then wait for user's final transcript.
extensions/voice-call/src/manager.ts:232
↓ 10 callers
Function
convertToOllamaMessages
( messages: Array<{ role: string; content: unknown }>, system?: string, )
src/agents/ollama-stream.ts:264
↓ 10 callers
Function
countPendingDescendantRuns
(rootSessionKey: string)
src/agents/subagent-registry.ts:1446
↓ 10 callers
Function
createAcpTestConfig
(overrides?: Partial<OpenClawConfig>)
src/auto-reply/reply/test-fixtures/acp-runtime.ts:4
↓ 10 callers
Function
createApi
()
extensions/diffs/src/tool.test.ts:389
↓ 10 callers
Function
createApiKeyPromptHarness
( overrides: Partial<Pick<WizardPrompter, "select" | "multiselect" | "text" | "confirm">> = {}, )
src/commands/auth-choice.test.ts:101
↓ 10 callers
Function
createAudioConfigWithEcho
(opts?: { echoTranscript?: boolean; echoFormat?: string; transcribedText?: string; })
src/media-understanding/apply.echo-transcript.test.ts:91
↓ 10 callers
Function
createAudioCtx
(params?: { body?: string; fileName?: string; mediaType?: string; content?: Buffer | string; })
src/media-understanding/apply.test.ts:170
↓ 10 callers
Function
createAuthTestLifecycle
(envKeys: string[])
src/commands/test-wizard-helpers.ts:60
↓ 10 callers
Function
createBaseSignalEventHandlerDeps
( overrides: Partial<SignalEventHandlerDeps> = {}, )
src/signal/monitor/event-handler.test-harness.ts:3
↓ 10 callers
Function
createCaseDir
(prefix: string)
src/infra/heartbeat-runner.returns-default-unset.test.ts:41
↓ 10 callers
Function
createEnabledHooksConfig
( handlers?: Array<{ event: string; module: string; export?: string }>, )
src/hooks/loader.test.ts:45
↓ 10 callers
Function
createHeartbeatDeps
( sendWhatsApp: NonNullable<HeartbeatDeps["sendWhatsApp"]>, nowMs = 0, )
src/infra/heartbeat-runner.returns-default-unset.test.ts:470
↓ 10 callers
Function
createHostSandboxFsBridge
(rootDir: string)
src/agents/test-helpers/host-sandbox-fs-bridge.ts:59
↓ 10 callers
Function
createInlineCodeState
()
src/markdown/code-spans.ts:8
↓ 10 callers
Function
createJob
(overrides: Partial<CronJob> = {})
src/cron/service/jobs.schedule-error-isolation.test.ts:34
↓ 10 callers
Function
createMockContext
(overrides?: { shouldEmitToolOutput?: boolean; onToolResult?: ReturnType<typeof vi.fn>; })
src/agents/pi-embedded-subscribe.handlers.tools.media.test.ts:9
↓ 10 callers
Function
createMockRuntime
()
extensions/bluebubbles/src/monitor.webhook-auth.test.ts:103
↓ 10 callers
Function
createPdfTool
(options?: { config?: OpenClawConfig; agentDir?: string; workspaceDir?: string; sandbox?: PdfSandboxCo
src/agents/tools/pdf-tool.ts:295
↓ 10 callers
Function
createPolicyHarness
(overrides?: { groupPolicy?: "open" | "allowlist"; channelsConfig?: Record<string, { allow?: boolean; requ
src/slack/monitor/slash.test.ts:696
↓ 10 callers
Function
createProcessTool
( defaults?: ProcessToolDefaults, // oxlint-disable-next-line typescript/no-explicit-any )
src/agents/bash-tools.process.ts:119
↓ 10 callers
Function
createProps
(overrides: Partial<ChatProps> = {})
ui/src/ui/views/chat.test.ts:16
↓ 10 callers
Function
createPtyAdapter
(params: { shell: string; args: string[]; cwd?: string; env?: NodeJS.ProcessEnv; cols?: number; ro
src/process/supervisor/adapters/pty.ts:37
↓ 10 callers
Function
createSlackWebClient
(token: string, options: WebClientOptions = {})
src/slack/client.ts:18
↓ 10 callers
Function
createSnapshot
(overrides: Partial<ChannelAccountSnapshot> = {})
extensions/twitch/src/status.test.ts:17
↓ 10 callers
Function
createTestDraftStream
(params?: { messageId?: number; previewMode?: DraftPreviewMode; onUpdate?: (text: string) => void; onS
src/telegram/draft-stream.test-helpers.ts:20
↓ 10 callers
Function
createWaSocket
( printQr: boolean, verbose: boolean, opts: { authDir?: string; onQr?: (qr: string) => void } = {}, )
src/web/session.ts:90
← previous
next →
1,701–1,800 of 26,379, ranked by callers